Mercurial > hg > xemacs-beta
diff src/vdb-posix.c @ 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 | 141c2920ea48 |
children | 6c7605dfcf07 |
line wrap: on
line diff
--- 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;