85 |
#include <sys/stat.h> |
#include <sys/stat.h> |
86 |
#include <errno.h> |
#include <errno.h> |
87 |
|
|
|
/* Get _POSIX_VDISABLE, if it is available. */ |
|
|
#ifdef HAVE_UNISTD_H |
|
|
#include <unistd.h> |
|
|
#endif |
|
|
|
|
|
#ifdef HAVE_STDLIB_H |
|
|
#include <stdlib.h> |
|
|
#endif |
|
|
|
|
88 |
#ifdef HAVE_SETPGID |
#ifdef HAVE_SETPGID |
89 |
#if !defined (USG) || defined (BSD_PGRPS) |
#if !defined (USG) || defined (BSD_PGRPS) |
90 |
#undef setpgrp |
#undef setpgrp |
2836 |
|
|
2837 |
#endif /* POSIX_SIGNALS */ |
#endif /* POSIX_SIGNALS */ |
2838 |
|
|
2839 |
#if !defined HAVE_STRSIGNAL && !defined SYS_SIGLIST_DECLARED |
#if !defined HAVE_STRSIGNAL && !HAVE_DECL_SYS_SIGLIST |
2840 |
static char *my_sys_siglist[NSIG]; |
static char *my_sys_siglist[NSIG]; |
2841 |
# ifdef sys_siglist |
# ifdef sys_siglist |
2842 |
# undef sys_siglist |
# undef sys_siglist |
2852 |
sigfillset (&full_mask); |
sigfillset (&full_mask); |
2853 |
#endif |
#endif |
2854 |
|
|
2855 |
#if !defined HAVE_STRSIGNAL && !defined SYS_SIGLIST_DECLARED |
#if !defined HAVE_STRSIGNAL && !HAVE_DECL_SYS_SIGLIST |
2856 |
if (! initialized) |
if (! initialized) |
2857 |
{ |
{ |
2858 |
# ifdef SIGABRT |
# ifdef SIGABRT |
3012 |
sys_siglist[SIGXFSZ] = "File size limit exceeded"; |
sys_siglist[SIGXFSZ] = "File size limit exceeded"; |
3013 |
# endif |
# endif |
3014 |
} |
} |
3015 |
#endif /* !defined HAVE_STRSIGNAL && !defined SYS_SIGLIST_DECLARED */ |
#endif /* !defined HAVE_STRSIGNAL && !defined HAVE_DECL_SYS_SIGLIST */ |
3016 |
} |
} |
3017 |
|
|
3018 |
#ifndef HAVE_RANDOM |
#ifndef HAVE_RANDOM |