commit bash-20070329 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:05:53 -05:00
parent 28157acd2d
commit d3ad40dee6
265 changed files with 56692 additions and 40436 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);