diff options
author | Jim Meyering <jim@meyering.net> | 1997-01-05 15:39:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-01-05 15:39:27 +0000 |
commit | 8ebfd37293d06b69998937535535258e3938a107 (patch) | |
tree | 068d3848dd3529224730987d2a94194a0e3a6164 /src | |
parent | cb6351aa8249824a4aada8dc5abdc3c07f27e92c (diff) | |
download | coreutils-8ebfd37293d06b69998937535535258e3938a107.tar.xz |
(print_long_format): NUL-terminate line of output.
Diffstat (limited to 'src')
-rw-r--r-- | src/ls.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2139,6 +2139,7 @@ print_long_format (const struct fileinfo *f) locale-dependent names for the weekday (%a) and month (%b). */ p += strftime (p, TIMEBUF_SIZE, fmt, localtime (&when)); *p++ = ' '; + *p = '\0'; DIRED_INDENT (); FPUTS (bigbuf, stdout, p - bigbuf); |