]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include "exitfail.h".
authorJim Meyering <jim@meyering.net>
Fri, 18 Jul 2003 07:23:38 +0000 (07:23 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 18 Jul 2003 07:23:38 +0000 (07:23 +0000)
(main): Set exit_failure, not xalloc_exit_failure and xmemcoll_exit_failure.

src/sort.c

index 39074b4e6b5b2762f96fa73e022f643de279a6c2..cb9b619b549c115edad923fb83a40a1f203dcfd7 100644 (file)
@@ -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
   {