summaryrefslogtreecommitdiff
path: root/src/rm.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-09-15 03:24:03 +0000
committerJim Meyering <jim@meyering.net>1997-09-15 03:24:03 +0000
commite01071c1d765b4e0dc5cb24d58e95a814a2e73de (patch)
tree561c1f545ce6d09010e9676ef6ad81655f51be59 /src/rm.c
parent6d77a9d346bf5e2d516443bbc21468c20b2c6e38 (diff)
downloadcoreutils-e01071c1d765b4e0dc5cb24d58e95a814a2e73de.tar.xz
tweak comment
Diffstat (limited to 'src/rm.c')
-rw-r--r--src/rm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rm.c b/src/rm.c
index 0ef0798ba..a6383b37d 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -382,8 +382,8 @@ full_filename (const char *filename)
if (n_bytes_needed > n_allocated)
{
/* This code requires that realloc accept NULL as the first arg.
- This function cannot use xrealloc. Otherwise, out-of-memory
- errors involving a file name to be expanded here wouldn't ever
+ This function must not use xrealloc. Otherwise, an out-of-memory
+ error involving a file name to be expanded here wouldn't ever
be issued. Use realloc and fall back on using a static buffer
if memory allocation fails. */
buf = realloc (buf, n_bytes_needed);