commit bash-20061116 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:00:40 -05:00
parent 906833f0cf
commit 2569d6d5a4
84 changed files with 45408 additions and 1165 deletions
+6 -6
View File
@@ -43,17 +43,17 @@ watch_warn (addr, file, line, type, data)
char *tag;
if (type == W_ALLOC)
tag = _("allocated");
tag = "allocated";
else if (type == W_FREE)
tag = _("freed");
tag = "freed";
else if (type == W_REALLOC)
tag = _("requesting resize");
tag = "requesting resize";
else if (type == W_RESIZED)
tag = _("just resized");
tag = "just resized";
else
tag = _("bug: unknown operation");
tag = "bug: unknown operation";
fprintf (stderr, _("malloc: watch alert: %p %s "), addr, tag);
fprintf (stderr, "malloc: watch alert: %p %s ", addr, tag);
if (data != (unsigned long)-1)
fprintf (stderr, "(size %lu) ", data);
fprintf (stderr, "from '%s:%d'\n", file ? file : "unknown", line);