changeset 3307:d81b1754aab1

[xemacs-hg @ 2006-03-27 15:20:28 by crestani] 2006-03-27 Mike Fabian <mfabian@suse.de> * vdb-posix.c (vdb_install_signal_handler): Correct memset.
author crestani
date Mon, 27 Mar 2006 15:20:31 +0000
parents 8ce03059a3b8
children 34cfe24248f6
files src/ChangeLog src/vdb-posix.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Mar 26 21:51:14 2006 +0000
+++ b/src/ChangeLog	Mon Mar 27 15:20:31 2006 +0000
@@ -1,3 +1,7 @@
+2006-03-27  Mike Fabian  <mfabian@suse.de>
+
+	* vdb-posix.c (vdb_install_signal_handler): Correct memset.
+
 2006-03-26  Marcus Crestani  <crestani@xemacs.org>
 
 	* alloc.c (malloc_warning): Move function into scope of
--- a/src/vdb-posix.c	Sun Mar 26 21:51:14 2006 +0000
+++ b/src/vdb-posix.c	Mon Mar 27 15:20:31 2006 +0000
@@ -118,7 +118,7 @@
     }
 
 #ifdef USE_SIGACTION
-  memset(&act, sizeof(struct sigaction), 0);
+  memset(&act, 0, sizeof(struct sigaction));
   act.sa_sigaction = vdb_fault_handler;
   sigemptyset (&act.sa_mask);
   act.sa_flags = SA_SIGINFO;