Mercurial > hg > octave-lyh > gnulib-hg
changeset 1986:eaeb35566cf8
update a comment from alpha.gnu.org:/home/gd/gnu/lib/getdate.y
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 31 Oct 1999 15:49:05 +0000 |
parents | b6f2bdc6a688 |
children | 902c89b9c0c5 |
files | lib/getdate.y |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/getdate.y +++ b/lib/getdate.y @@ -99,7 +99,7 @@ /* Information passed to and from the parser. */ struct parser_control -{ +{ /* The input string remaining to be parsed. */ const char *input; @@ -831,7 +831,10 @@ return 0; } -/* ?? */ +/* Parse a date/time string P. Return the corresponding time_t value, + or (time_t) -1 if there is an error. P can be an incomplete or + relative time specification; if so, use *NOW as the basis for the + returned time. */ time_t get_date (const char *p, const time_t *now) {