diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-01-14 07:26:12 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-01-14 07:26:12 +0000 |
commit | 212077afa275b7111e2a28798affa9689dede2ba (patch) | |
tree | 7979b9468be6603e87df16f8ba087dab5bf8d723 /source3/smbd | |
parent | 42d9c734240574247cf3363a5d8ee67a17c668bc (diff) | |
download | samba-212077afa275b7111e2a28798affa9689dede2ba.tar.gz samba-212077afa275b7111e2a28798affa9689dede2ba.tar.bz2 samba-212077afa275b7111e2a28798affa9689dede2ba.zip |
Merge indirection, signed/unsigned and uninitialiased-value fixes from HEAD.
Andrew Bartlett
(This used to be commit 2a1adb8f81d8966e8919fffb9b4c69f3e6acd44f)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/notify_kernel.c | 2 | ||||
-rw-r--r-- | source3/smbd/oplock_linux.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/notify_kernel.c b/source3/smbd/notify_kernel.c index df553721ef..8b7ff21ecb 100644 --- a/source3/smbd/notify_kernel.c +++ b/source3/smbd/notify_kernel.c @@ -215,6 +215,8 @@ struct cnotify_fns *kernel_notify_init(void) static struct cnotify_fns cnotify; struct sigaction act; + ZERO_STRUCT(act); + act.sa_handler = NULL; act.sa_sigaction = signal_handler; act.sa_flags = SA_SIGINFO; diff --git a/source3/smbd/oplock_linux.c b/source3/smbd/oplock_linux.c index 85f89c12a0..deed0c5107 100644 --- a/source3/smbd/oplock_linux.c +++ b/source3/smbd/oplock_linux.c @@ -279,6 +279,8 @@ struct kernel_oplocks *linux_init_kernel_oplocks(void) return NULL; } + ZERO_STRUCT(act); + act.sa_handler = NULL; act.sa_sigaction = signal_handler; act.sa_flags = SA_SIGINFO; |