From: Jim Meyering Date: Tue, 8 Aug 2000 07:13:36 +0000 (+0000) Subject: (remove_cwd_entries, rm): Invoke xalloc_die instead of printing our own message. X-Git-Tag: FILEUTILS-4_0y~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a9a5efd77b78d187473b79750c131c658124f843;p=thirdparty%2Fcoreutils.git (remove_cwd_entries, rm): Invoke xalloc_die instead of printing our own message. --- diff --git a/src/remove.c b/src/remove.c index ab13a73ffe..6b5dad09fe 100644 --- a/src/remove.c +++ b/src/remove.c @@ -566,10 +566,10 @@ remove_cwd_entries (const struct rm_options *x) ht = hash_initialize (HT_INITIAL_CAPACITY, NULL, hash_pjw, hash_compare_strings, NULL); if (ht == NULL) - error (1, 0, _("virtual memory exhausted")); + xalloc_die (); } if (! hash_insert (ht, entry_name)) - error (1, 0, _("virtual memory exhausted")); + xalloc_die (); } else { @@ -883,7 +883,7 @@ The following two directories have the same inode number:\n")); /* Put this directory in the active_dir_map. */ if (! hash_insert (active_dir_map, new_ent)) - error (1, 0, _("virtual memory exhausted")); + xalloc_die (); } #endif