projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85e8724
)
data-in: Fix parsing time delimiters in parse_date().
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 24 Sep 2017 02:43:45 +0000
(19:43 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 24 Sep 2017 02:43:45 +0000
(19:43 -0700)
Found by GCC 7.1.
Reported by John Darrington.
src/data/data-in.c
patch
|
blob
|
history
diff --git
a/src/data/data-in.c
b/src/data/data-in.c
index b0120677b3f7b079d78e7a15c4c17a5073612ac7..3f1f9e7075643b5bd86eabc7a57f01738a475f0a 100644
(file)
--- a/
src/data/data-in.c
+++ b/
src/data/data-in.c
@@
-1185,6
+1185,7
@@
parse_date (struct data_in *i)
break;
case ':':
error = parse_time_delimiter (i);
+ break;
case ' ':
if (i->format != FMT_MOYR)
{