mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
Don't print uninitialized data (or anything else) to stdout
upon localtime failure. (show_date): Remove stray `puts (buf);' (debugging?) from the 2004-02-02 change.
This commit is contained in:
1 parent
ce10740dac
commit
cb50fa3e87
1 file changed
-1
@@ -519,7 +519,6 @@ show_date (const char *format, struct timespec when)
|
||||
(TYPE_SIGNED (time_t)
|
||||
? imaxtostr (when.tv_sec, buf)
|
||||
: umaxtostr (when.tv_sec, buf)));
|
||||
puts (buf);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user