]> Savannah Git Hosting - gnulib.git/commit
parse-datetime: restrict debug output to input string
authorPádraig Brady <P@draigBrady.com>
Thu, 8 Sep 2016 14:17:10 +0000 (15:17 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 8 Sep 2016 14:24:11 +0000 (15:24 +0100)
commit2eb2659743e2d6cc3667d8df8f074d2e1e6db24f
tree9c6f3d2409b6fffc1ce322da86a394770ddc6d58
parent7da1068a87c331793af73359d8637d140d08a674
parse-datetime: restrict debug output to input string

* lib/parse-datetime.y (parse_datetime2): If we parse
all of the input but determine it's invalid, ensure
we don't output the now invalid input pointer.
This issue was seen with `date -d 'now +1'`.
ChangeLog
lib/parse-datetime.y