summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-10-28 17:03:06 +0000
committerJim Meyering <jim@meyering.net>1994-10-28 17:03:06 +0000
commitc0119ac53405d6aff5bd002b46631fde9b16f500 (patch)
tree6fdfef36a81030333ab4e853594635954c8c6536 /src/ls.c
parent1cd8c36e4dad2db1d6745ffa65c994ea69265b93 (diff)
downloadcoreutils-c0119ac53405d6aff5bd002b46631fde9b16f500.tar.xz
.
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index 1d5348e66..ed9bf8f13 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -81,6 +81,7 @@
#ifndef STDC_HEADERS
char *ctime ();
time_t time ();
+void free ();
#endif
void mode_string ();
@@ -1749,7 +1750,7 @@ quote_filename (p, quoted_length)
{
char buf[5];
sprintf (buf, "\\%03o", (unsigned int) c);
- q = stpcpy (p, buf);
+ q = stpcpy (q, buf);
}
}
}