projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0867d4e
)
(xstrndup): Use message that's the same as the one
author
Jim Meyering
<jim@meyering.net>
Sat, 21 Sep 1996 15:23:35 +0000
(15:23 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 21 Sep 1996 15:23:35 +0000
(15:23 +0000)
you get from e.g., xmalloc. Reported by Santiago Vila.
src/dircolors.c
patch
|
blob
|
history
diff --git
a/src/dircolors.c
b/src/dircolors.c
index
a52bd13
..
b83cf12
100644
(file)
--- a/
src/dircolors.c
+++ b/
src/dircolors.c
@@
-126,7
+126,7
@@
xstrndup (const char *s, size_t n)
{
char *new = strndup (s, n);
if (new == NULL)
- error (EXIT_FAILURE, 0, _("
M
emory exhausted"));
+ error (EXIT_FAILURE, 0, _("
virtual m
emory exhausted"));
return new;
}