Mercurial > hg > octave-kai > gnulib-hg
annotate lib/xreadlink.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 | 581348c45fcc |
rev | line source |
---|---|
8263
0b51384602a2
Add the xreadlink module from GNU gettext (based on code from Jim Meyering).
Bruno Haible <bruno@clisp.org>
parents:
8262
diff
changeset
|
1 /* Reading symbolic links without size limitation. |
4397
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
3462
diff
changeset
|
2 |
8262
e13973f34901
* lib/xreadlink-with-size.c: Renamed from lib/xreadlink.c.
Bruno Haible <bruno@clisp.org>
parents:
5848
diff
changeset
|
3 Copyright (C) 2001, 2003, 2004, 2007 Free Software Foundation, Inc. |
4397
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
3462
diff
changeset
|
4 |
9309
bbbbbf4cd1c5
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents:
8989
diff
changeset
|
5 This program is free software: you can redistribute it and/or modify |
4397
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
3462
diff
changeset
|
6 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:
8989
diff
changeset
|
7 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:
8989
diff
changeset
|
8 (at your option) any later version. |
3442 | 9 |
4397
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
3462
diff
changeset
|
10 This program is distributed in the hope that it will be useful, |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
3462
diff
changeset
|
11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
3462
diff
changeset
|
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
3462
diff
changeset
|
13 GNU General Public License for more details. |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
3462
diff
changeset
|
14 |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
3462
diff
changeset
|
15 You should have received a copy of the GNU General Public License |
9309
bbbbbf4cd1c5
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents:
8989
diff
changeset
|
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
4397
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
3462
diff
changeset
|
17 |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
3462
diff
changeset
|
18 /* Written by Jim Meyering <jim@meyering.net> */ |
c6450308f123
Assume C89, so PARAMS isn't needed.
Paul Eggert <eggert@cs.ucla.edu>
parents:
3462
diff
changeset
|
19 |
5078
146129232fe0
Merge from coreutils CVS.
Paul Eggert <eggert@cs.ucla.edu>
parents:
4397
diff
changeset
|
20 #include <stddef.h> |
8263
0b51384602a2
Add the xreadlink module from GNU gettext (based on code from Jim Meyering).
Bruno Haible <bruno@clisp.org>
parents:
8262
diff
changeset
|
21 |
0b51384602a2
Add the xreadlink module from GNU gettext (based on code from Jim Meyering).
Bruno Haible <bruno@clisp.org>
parents:
8262
diff
changeset
|
22 extern char *xreadlink (char const *filename); |