On Mon, Aug 18, 2003 at 04:45:54PM -0400, Ben Slusky wrote: > On Mon, 18 Aug 2003 19:02:12 +0100, Dale Amon wrote: > > make sundries > > cc -c -pipe -O2 -m486 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -DHAVE_NFS sundries.c > > sundries.c: In function `use_keygen_prog': > > sundries.c:343: `__sigaction_handler' undeclared (first use in this function) > > sundries.c:343: (Each undeclared identifier is reported only once > > sundries.c:343: for each function it appears in.) > > sundries.c:343: parse error before `:' > > sundries.c:370: warning: assignment discards qualifiers from pointer target type > > sundries.c: At top level: > > sundries.c:295: warning: `child_handler' defined but not used > > make: *** [sundries.o] Error 1 > > Hm. Try the old-fashioned way then: > struct sigaction sa; > sa.sa_handler = child_handler; > sa.sa_flags = SA_NOCLDSTOP; That builds. > Fixed and uploaded. Also added memory locking. Good show old chap! - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/