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:
6fcabe7
)
(batch_convert): Free `initial_TZ' only if it was set.
author
Jim Meyering
<jim@meyering.net>
Wed, 19 Jul 2000 21:00:20 +0000
(21:00 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 19 Jul 2000 21:00:20 +0000
(21:00 +0000)
src/date.c
patch
|
blob
|
history
diff --git
a/src/date.c
b/src/date.c
index
d8c8f8a
..
69abb78
100644
(file)
--- a/
src/date.c
+++ b/
src/date.c
@@
-287,7
+287,8
@@
batch_convert (const char *input_filename, const char *format)
}
}
- free (initial_TZ);
+ if (universal_time)
+ free (initial_TZ);
if (fclose (in_stream) == EOF)
error (2, errno, "`%s'", input_filename);