diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-07-15 17:39:28 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-07-16 12:10:44 -0700 |
commit | 84185eda59ba54a262a330e21a6c9dfc6ee4b6d8 (patch) | |
tree | 12310a87fc289cb80d08eb74b819b1dbb45b1739 | |
parent | efec1600c9b9981d2bc6f26e8a6094ee4e2df501 (diff) | |
download | coreutils-84185eda59ba54a262a330e21a6c9dfc6ee4b6d8.tar.xz |
ls: port to NonStop (Bug#9076)
* src/ls.c (SA_RESTART): Define to 0 if not defined.
-rw-r--r-- | src/ls.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 <fnmatch.h> |