From: Paul Eggert Date: Sat, 16 Jul 2011 00:39:28 +0000 (-0700) Subject: ls: port to NonStop (Bug#9076) X-Git-Tag: v8.13~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84185eda59ba54a262a330e21a6c9dfc6ee4b6d8;p=thirdparty%2Fcoreutils.git ls: port to NonStop (Bug#9076) * src/ls.c (SA_RESTART): Define to 0 if not defined. --- diff --git a/src/ls.c b/src/ls.c index c604e14dad..680a7c3158 100644 --- a/src/ls.c +++ b/src/ls.c @@ -74,6 +74,14 @@ # endif #endif +/* NonStop circa 2011 lacks both SA_RESTART and siginterrupt, so don't + restart syscalls after a signal handler fires. This may cause + colors to get messed up on the screen if 'ls' is interrupted, but + that's the best we can do on such a platform. */ +#ifndef SA_RESTART +# define SA_RESTART 0 +#endif + #include "system.h" #include