projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73ebfeb
)
(show_date): Remove now-unnecessary code that
author
Jim Meyering
<jim@meyering.net>
Tue, 2 Aug 2005 20:44:38 +0000
(20:44 +0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 2 Aug 2005 20:44:38 +0000
(20:44 +0000)
treated an empty format string as a special case.
src/date.c
patch
|
blob
|
history
diff --git
a/src/date.c
b/src/date.c
index
8eafd09
..
fc973e7
100644
(file)
--- a/
src/date.c
+++ b/
src/date.c
@@
-511,11
+511,6
@@
show_date (const char *format, struct timespec when)
format = *date_fmt ? date_fmt : "%a %b %e %H:%M:%S %Z %Y";
}
}
- else if (*format == '\0')
- {
- printf ("\n");
- return true;
- }
tm = localtime (&when.tv_sec);
if (! tm)