Mercurial > hg > octave-kai > gnulib-hg
annotate lib/fseterr.h @ 10256:af15fcca9925
getdate.y: do not ignore TZ with relative day, month or year offset
* lib/getdate.y (get_date): Move the tz-handling block to follow the
relative-date-handling, since otherwise, the latter would clobber the
sole output (an updated Start value) of the tz-handling block.
* tests/test-getdate.c: Tests for the fix
author | Ondřej Vašík <ovasik@redhat.com> |
---|---|
date | Thu, 03 Jul 2008 12:17:11 +0200 |
parents | bbbbbf4cd1c5 |
children | b5e42ef33b49 |
rev | line source |
---|---|
8387 | 1 /* Set the error indicator of a stream. |
2 Copyright (C) 2007 Free Software Foundation, Inc. | |
3 | |
9309
bbbbbf4cd1c5
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents:
8387
diff
changeset
|
4 This program is free software: you can redistribute it and/or modify |
8387 | 5 it under the terms of the GNU General Public License as published by |
9309
bbbbbf4cd1c5
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents:
8387
diff
changeset
|
6 the Free Software Foundation; either version 3 of the License, or |
bbbbbf4cd1c5
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents:
8387
diff
changeset
|
7 (at your option) any later version. |
8387 | 8 |
9 This program is distributed in the hope that it will be useful, | |
10 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 GNU General Public License for more details. | |
13 | |
9309
bbbbbf4cd1c5
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents:
8387
diff
changeset
|
14 You should have received a copy of the GNU General Public License |
bbbbbf4cd1c5
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents:
8387
diff
changeset
|
15 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
8387 | 16 |
17 #ifndef _FSETERR_H | |
18 #define _FSETERR_H | |
19 | |
20 #include <stdio.h> | |
21 | |
22 #ifdef __cplusplus | |
23 extern "C" { | |
24 #endif | |
25 | |
26 | |
27 /* Set the error indicator of the stream FP. | |
28 The "error indicator" is set when an I/O operation on the stream fails, and | |
29 is cleared (together with the "end-of-file" indicator) by clearerr (FP). */ | |
30 extern void fseterr (FILE *fp); | |
31 | |
32 | |
33 #ifdef __cplusplus | |
34 } | |
35 #endif | |
36 | |
37 #endif /* _FSETERR_H */ |