forked from mirrors/tftp-hpa-google

Don't rely on nonstandard bsd_signal() function, instead require that the platform has sigaction(). This is 2001, after all. This may resolve some potential portability problems. Log a message if memory allocation fails, instead of dying silently. Clean up the main dispatch loop. Use <sysexits.h> for exit codes, if it exists. Reformat tftpd.c to match the other files.
26 lines
660 B
C
26 lines
660 B
C
/* $Id$ */
|
|
/* ----------------------------------------------------------------------- *
|
|
*
|
|
* Copyright 2001 H. Peter Anvin - All Rights Reserved
|
|
*
|
|
* This program is free software available under the same license
|
|
* as the "OpenBSD" operating system, distributed at
|
|
* http://www.openbsd.org/.
|
|
*
|
|
* ----------------------------------------------------------------------- */
|
|
|
|
/*
|
|
* config.h.in
|
|
*
|
|
* Pattern file for configurations
|
|
*/
|
|
|
|
#undef HAVE_SIGSETJMP
|
|
#undef HAVE_MSGHDR_MSG_CONTROL
|
|
#undef HAVE_RECVMSG
|
|
#undef HAVE_TCPWRAPPERS
|
|
#undef HAVE_STRUCT_IN_PKTINFO
|
|
#undef HAVE_SETREUID
|
|
#undef HAVE_SETREGID
|
|
#undef HAVE_SYSEXITS_H
|
|
#undef WITH_REGEX
|