User: crestani
Date: 06/03/27 17:20:35
Modified: xemacs/src ChangeLog vdb-posix.c
Log:
2006-03-27 Mike Fabian <mfabian(a)suse.de>
* vdb-posix.c (vdb_install_signal_handler): Correct memset.
Revision Changes Path
1.935 +4 -0 XEmacs/xemacs/src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.934
retrieving revision 1.935
diff -u -p -r1.934 -r1.935
--- ChangeLog 2006/03/26 15:24:25 1.934
+++ ChangeLog 2006/03/27 15:20:28 1.935
@@ -1,3 +1,7 @@
+2006-03-27 Mike Fabian <mfabian(a)suse.de>
+
+ * vdb-posix.c (vdb_install_signal_handler): Correct memset.
+
2006-03-26 Marcus Crestani <crestani(a)xemacs.org>
* alloc.c (malloc_warning): Move function into scope of
1.2 +1 -1 XEmacs/xemacs/src/vdb-posix.c
Index: vdb-posix.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/vdb-posix.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- vdb-posix.c 2005/11/25 01:42:07 1.1
+++ vdb-posix.c 2006/03/27 15:20:31 1.2
@@ -118,7 +118,7 @@ vdb_install_signal_handler (void)
}
#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;
Show replies by date