diff options
author | Gerald Carter <jerry@samba.org> | 2003-09-09 03:18:20 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-09-09 03:18:20 +0000 |
commit | 3cf6eaebd6c57974d33934bf9647b0ab9f50f88e (patch) | |
tree | 2fadaad0c5f22354650f4c64a07ab2c06aad0ec4 /packaging/Debian/debian/patches/nmbd-signalling.patch | |
parent | 07643607a706464089bb4b5a8bd902742591b864 (diff) | |
download | samba-3cf6eaebd6c57974d33934bf9647b0ab9f50f88e.tar.gz samba-3cf6eaebd6c57974d33934bf9647b0ab9f50f88e.tar.bz2 samba-3cf6eaebd6c57974d33934bf9647b0ab9f50f88e.zip |
syncing packaging files from 3.0
(This used to be commit ccc2a0d3840f88625cf89d6739320728e830ef87)
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(); |