From: Jim Meyering Date: Fri, 13 Mar 1998 23:35:43 +0000 (+0000) Subject: Use `virtual memory exhausted' message, not X-Git-Tag: FILEUTILS-3_16n~42 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=92da57a7be531b2a609f994fe0cfd7650ff57b97;p=thirdparty%2Fcoreutils.git Use `virtual memory exhausted' message, not `Memory exhausted' to be consistent with the majority of other such messages. Say `removing all...', not `removing any...'. --- diff --git a/src/remove.c b/src/remove.c index 125c5eaf5c..08a58aefa2 100644 --- a/src/remove.c +++ b/src/remove.c @@ -518,11 +518,11 @@ remove_cwd_entries (const struct rm_options *x) ht = hash_initialize (HT_INITIAL_CAPACITY, NULL, hash_pjw, hash_compare_strings); if (ht == NULL) - error (1, 0, _("Memory exhausted")); + error (1, 0, _("virtual memory exhausted")); } HASH_INSERT_NEW_ITEM (ht, entry_name, &fail); if (fail) - error (1, 0, _("Memory exhausted")); + error (1, 0, _("virtual memory exhausted")); } else { @@ -644,7 +644,7 @@ remove_dir (struct File_spec *fs, int need_save_cwd, const struct rm_options *x) } if (x->verbose) - printf (_("removing any entries of directory %s\n"), + printf (_("removing all entries of directory %s\n"), full_filename (dir_name)); /* Save cwd if needed. */ @@ -762,7 +762,7 @@ rm (struct File_spec *fs, int user_specified_name, const struct rm_options *x) current_depth ()), &fail); if (fail) - error (1, 0, _("Memory exhausted")); + error (1, 0, _("virtual memory exhausted")); if (old_ent) {