=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/at/at.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- src/usr.bin/at/at.c 1997/10/06 18:31:01 1.14 +++ src/usr.bin/at/at.c 1998/06/03 16:20:26 1.15 @@ -1,4 +1,4 @@ -/* $OpenBSD: at.c,v 1.14 1997/10/06 18:31:01 deraadt Exp $ */ +/* $OpenBSD: at.c,v 1.15 1998/06/03 16:20:26 deraadt Exp $ */ /* $NetBSD: at.c,v 1.4 1995/03/25 18:13:31 glass Exp $ */ /* @@ -73,7 +73,7 @@ /* File scope variables */ #ifndef lint -static char rcsid[] = "$OpenBSD: at.c,v 1.14 1997/10/06 18:31:01 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: at.c,v 1.15 1998/06/03 16:20:26 deraadt Exp $"; #endif char *no_export[] = @@ -189,6 +189,7 @@ * Install the signal handler for SIGINT; terminate after removing the * spool file if necessary */ + memset(&act, 0, sizeof act); act.sa_handler = sigc; sigemptyset(&(act.sa_mask)); act.sa_flags = 0;