X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetdate.y;h=57374f1d4fb176ba32c72052f5ecdf4553736974;hb=dd469821917cebe0abde6601b2ba7cd887bc498f;hp=4c59334bc383be9c5e3e6a219690cd9d3d22a506;hpb=970562b47044979ea157869d601ea8350e0a7d12;p=gnulib.git diff --git a/lib/getdate.y b/lib/getdate.y index 4c59334bc..57374f1d4 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -1,6 +1,8 @@ %{ /* Parse a string into an internal time stamp. - Copyright (C) 1999, 2000, 2002, 2003, 2004 Free Software Foundation, Inc. + + Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005 Free Software + Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1125,8 +1127,7 @@ get_date (struct timespec *result, char const *p, struct timespec const *now) if (! now) { - if (gettime (&gettime_buffer) != 0) - return false; + gettime (&gettime_buffer); now = &gettime_buffer; }