diff options
author | Jim Meyering <jim@meyering.net> | 2003-07-18 07:23:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-07-18 07:23:38 +0000 |
commit | 30d8071d60531224360094e75bea9d77225fafcf (patch) | |
tree | b837988a98a9c154a8390d1b5cdb510b57572026 | |
parent | 1eaf0e9870d0fa7e0891d5a9557fe3e6973e4b2a (diff) | |
download | coreutils-30d8071d60531224360094e75bea9d77225fafcf.tar.xz |
Include "exitfail.h".
(main): Set exit_failure, not xalloc_exit_failure and xmemcoll_exit_failure.
-rw-r--r-- | src/sort.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sort.c b/src/sort.c index 39074b4e6..cb9b619b5 100644 --- a/src/sort.c +++ b/src/sort.c @@ -31,6 +31,7 @@ #include "system.h" #include "long-options.h" #include "error.h" +#include "exitfail.h" #include "hard-locale.h" #include "inttostr.h" #include "physmem.h" @@ -2209,8 +2210,7 @@ main (int argc, char **argv) inittables (); /* Change the way library functions fail. */ - xalloc_exit_failure = SORT_FAILURE; - xmemcoll_exit_failure = SORT_FAILURE; + exit_failure = SORT_FAILURE; #ifdef SA_NOCLDSTOP { |