From: Jim Meyering Date: Tue, 8 Aug 2000 07:11:12 +0000 (+0000) Subject: (xstrndup): Invoke xalloc_die instead of printing our own message. X-Git-Tag: FILEUTILS-4_0y~75 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=13587cf0ec42e3fcf9ec0600705cc41dadd6a847;p=thirdparty%2Fcoreutils.git (xstrndup): Invoke xalloc_die instead of printing our own message. --- diff --git a/src/dircolors.c b/src/dircolors.c index 2351e61b2a..38e1c5071e 100644 --- a/src/dircolors.c +++ b/src/dircolors.c @@ -126,7 +126,7 @@ xstrndup (const char *s, size_t n) { char *new = strndup (s, n); if (new == NULL) - error (EXIT_FAILURE, 0, _("virtual memory exhausted")); + xalloc_die (); return new; }