/* Number of allocated slots in temp_dirs. */
static size_t temp_dir_alloc;
-/* Our process ID. */
-static pid_t process_id;
-
/* Flag to reverse the order of all comparisons. */
static int reverse;
signal (sig, SIG_DFL);
#endif
- kill (process_id, sig);
+ raise (sig);
}
/* Set the ordering options for KEY specified in S.
char *minus = "-", **files;
char const *outfile = minus;
static int const sigs[] = { SIGHUP, SIGINT, SIGPIPE, SIGTERM };
- int nsigs = sizeof sigs / sizeof *sigs;
+ unsigned nsigs = sizeof sigs / sizeof *sigs;
#ifdef SA_NOCLDSTOP
struct sigaction oldact, newact;
#endif
program_name = argv[0];
- process_id = getpid ();
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);