Mercurial > hg > octave-kai > gnulib-hg
changeset 2809:53d24b96c7f1
(same_name): Invoke xalloc_die instead of printing our own message.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Mon, 07 Aug 2000 16:55:57 +0000 |
parents | 3b0965d2ed14 |
children | aff553209434 |
files | lib/same.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/same.c +++ b/lib/same.c @@ -45,6 +45,7 @@ #include "same.h" #include "dirname.h" #include "error.h" +#include "xalloc.h" #if ENABLE_NLS # include <libintl.h> @@ -81,7 +82,7 @@ source_dirname = dir_name (source); dest_dirname = dir_name (dest); if (source_dirname == NULL || dest_dirname == NULL) - error (1, 0, _("virtual memory exhausted")); + xalloc_die (); if (stat (source_dirname, &source_dir_stats)) {