public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f6dff3
)
made implementation defined behaviour (POSIX) more explicit
author
eck
<none@none>
Tue, 2 Oct 1990 09:59:30 +0000
(09:59 +0000)
committer
eck
<none@none>
Tue, 2 Oct 1990 09:59:30 +0000
(09:59 +0000)
lang/cem/libcc.ansi/time/misc.c
patch
|
blob
|
history
diff --git
a/lang/cem/libcc.ansi/time/misc.c
b/lang/cem/libcc.ansi/time/misc.c
index
133beb8
..
6f7ab19
100644
(file)
--- a/
lang/cem/libcc.ansi/time/misc.c
+++ b/
lang/cem/libcc.ansi/time/misc.c
@@
-233,6
+233,15
@@
parseTZ(const char *p)
if (!p) return;
+ if (*p == ':') {
+ /*
+ * According to POSIX, this is implementation defined.
+ * Since it depends on the particular operating system, we
+ * can do nothing.
+ */
+ return;
+ }
+
if (!strcmp(lastTZ, p)) return; /* nothing changed */
*_tzname[0] = '\0';