2021年5月23日(日) 5:08 Larkin Nickle <m...@larbob.org>: > [...] > > Notice that `set` is only defined if HAVE_PSELECT is defined.
Does it compile in Tru64 by declaring "set/oset" also for HAVE_SELECT? diff --git a/lib/sh/input_avail.c b/lib/sh/input_avail.c index 695165fd..2ac44616 100644 --- a/lib/sh/input_avail.c +++ b/lib/sh/input_avail.c @@ -110,7 +110,7 @@ nchars_avail (fd, nchars) #if defined(HAVE_SELECT) fd_set readfds, exceptfds; #endif -#if defined (HAVE_PSELECT) +#if defined (HAVE_PSELECT) || defined (HAVE_SELECT) sigset_t set, oset; #endif -- Koichi