1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

(print_long_format): NUL-terminate line of output.

This commit is contained in:
Jim Meyering
1997-01-05 15:39:27 +00:00
parent cb6351aa82
commit 8ebfd37293

View File

@@ -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);