diff options
author | Eloy Paris <peloy@samba.org> | 2003-09-08 14:48:09 +0000 |
---|---|---|
committer | Eloy Paris <peloy@samba.org> | 2003-09-08 14:48:09 +0000 |
commit | 657e9fa191c76b1ce41aa4c44e0626104c65bfa8 (patch) | |
tree | 4dbcd51e6702334c89922c8927f67f635b9e9bb6 /packaging/Debian/debian/patches/nmbd-signalling.patch | |
parent | 7a0b58a012590009a0d05430ea0c75ac4509830c (diff) | |
download | samba-657e9fa191c76b1ce41aa4c44e0626104c65bfa8.tar.gz samba-657e9fa191c76b1ce41aa4c44e0626104c65bfa8.tar.bz2 samba-657e9fa191c76b1ce41aa4c44e0626104c65bfa8.zip |
Sync'ing packaging/Debian/ with the latest files from the official
Debian packages. This files are in sync. with the Debian packages for
3.0.0rc2.
(This used to be commit 7d8d193c05d60ab9b86d52075bb9ec5ad1857903)
Diffstat (limited to 'packaging/Debian/debian/patches/nmbd-signalling.patch')
-rw-r--r-- | packaging/Debian/debian/patches/nmbd-signalling.patch | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/packaging/Debian/debian/patches/nmbd-signalling.patch b/packaging/Debian/debian/patches/nmbd-signalling.patch index c34f7e75fb..ca04cce3bf 100644 --- a/packaging/Debian/debian/patches/nmbd-signalling.patch +++ b/packaging/Debian/debian/patches/nmbd-signalling.patch @@ -1,20 +1,20 @@ diff -uNr samba-2.999+3.0.alpha21.orig/source/nmbd/nmbd_subnetdb.c samba-2.999+3.0.alpha21/source/nmbd/nmbd_subnetdb.c --- samba-2.999+3.0.alpha21.orig/source/nmbd/nmbd_subnetdb.c 2002-11-26 20:54:19.000000000 -0600 +++ samba-2.999+3.0.alpha21/source/nmbd/nmbd_subnetdb.c 2002-12-16 23:34:13.000000000 -0600 -@@ -230,12 +230,16 @@ - extern struct in_addr loopback_ip; +@@ -214,12 +214,16 @@ + extern struct in_addr loopback_ip; - if(num_interfaces == 0) { -+ void (*old_handler)(int); + if(num_interfaces == 0) { ++ void (*old_handler)(int); + - DEBUG(0,("create_subnets: No local interfaces !\n")); - DEBUG(0,("create_subnets: Waiting for an interface to appear ...\n")); -+ old_handler = CatchSignal( SIGTERM, SIGNAL_CAST SIG_DFL ); - while (iface_count() == 0) { - sleep(5); - load_interfaces(); - } -+ CatchSignal( SIGTERM, SIGNAL_CAST old_handler ); - } + DEBUG(0,("create_subnets: No local interfaces !\n")); + DEBUG(0,("create_subnets: Waiting for an interface to appear ...\n")); ++ old_handler = CatchSignal( SIGTERM, SIGNAL_CAST SIG_DFL ); + while (iface_count() == 0) { + sleep(5); + load_interfaces(); + } ++ CatchSignal( SIGTERM, SIGNAL_CAST old_handler ); + } - num_interfaces = iface_count(); + num_interfaces = iface_count(); |