From: Jim Meyering Date: Fri, 18 Jul 2003 07:23:38 +0000 (+0000) Subject: Include "exitfail.h". X-Git-Tag: v5.0.90~225 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30d8071d60531224360094e75bea9d77225fafcf;p=thirdparty%2Fcoreutils.git Include "exitfail.h". (main): Set exit_failure, not xalloc_exit_failure and xmemcoll_exit_failure. --- diff --git a/src/sort.c b/src/sort.c index 39074b4e6b..cb9b619b54 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 {