Mercurial > hg > octave-kai > gnulib-hg
annotate lib/acl.h @ 11224:5aa57cee93aa
avoid gcc 3.4.3 bug on long double NaN on Irix 6.5
* tests/nan.h (NaNl): Rewrite as function on Irix, to avoid
compilation bug by using runtime conversion.
* m4/isfinite.m4 (gl_ISFINITE): Likewise.
* m4/isnanl.m4 (gl_FUNC_ISNANL): Likewise.
* modules/ceill-tests (Files): Use nan.h.
* modules/floorl-tests (Files): Likewise.
* modules/frexpl-tests (Files): Likewise.
* modules/isnanl-tests (Files): Likewise.
* modules/ldexpl-tests (Files): Likewise.
* modules/roundl-tests (Files): Likewise.
* modules/truncl-tests (Files): Likewise.
* tests/test-ceill.c (main): Use a working NaN.
* tests/test-floorl.c (main): Likewise.
* tests/test-frexpl.c (main): Likewise.
* tests/test-isnan.c (test_long_double): Likewise.
* tests/test-isnanl.h (main): Likewise.
* tests/test-ldexpl.h (main): Likewise.
* tests/test-roundl.h (main): Likewise.
* tests/test-truncl.h (main): Likewise.
See http://lists.gnu.org/archive/html/bug-gnulib/2009-02/msg00190.html.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Thu, 26 Feb 2009 20:18:42 -0700 (2009-02-27) |
parents | 29794e333189 |
children | b5e42ef33b49 |
rev | line source |
---|---|
3762 | 1 /* acl.c - access control lists |
2 | |
10109
29794e333189
Move some declarations from acl.h to acl-internal.h.
Bruno Haible <bruno@clisp.org>
parents:
9491
diff
changeset
|
3 Copyright (C) 2002, 2008 Free Software Foundation, Inc. |
3762 | 4 |
9309
bbbbbf4cd1c5
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible <bruno@clisp.org>
parents:
8111
diff
changeset
|
5 This program is free software: you can redistribute it and/or modify |
3762 | 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:
8111
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:
8111
diff
changeset
|
8 (at your option) any later version. |
3762 | 9 |
10 This program is distributed in the hope that it will be useful, | |
11 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 GNU General Public License for more details. | |
14 | |
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:
8111
diff
changeset
|
16 along with this program. If not, see <http://www.gnu.org/licenses/>. |
3762 | 17 |
18 Written by Paul Eggert. */ | |
19 | |
8111
df08e906ce1c
2007-02-05 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini <bonzini@gnu.org>
parents:
7764
diff
changeset
|
20 #include <sys/types.h> |
7764
13e3660ac911
* lib/acl.h: Include sys/types.h and sys/stat.h, for mode_t and
Paul Eggert <eggert@cs.ucla.edu>
parents:
6527
diff
changeset
|
21 #include <sys/stat.h> |
13e3660ac911
* lib/acl.h: Include sys/types.h and sys/stat.h, for mode_t and
Paul Eggert <eggert@cs.ucla.edu>
parents:
6527
diff
changeset
|
22 |
3762 | 23 int file_has_acl (char const *, struct stat const *); |
6527 | 24 int copy_acl (char const *, int, char const *, int, mode_t); |
25 int set_acl (char const *, int, mode_t); | |
9491
2183f5fd655c
New function qset_acl, like set_acl but with syscall semantics.
Paul Eggert <eggert@cs.ucla.edu>
parents:
9309
diff
changeset
|
26 int qset_acl (char const *, int, mode_t); |
6527 | 27 int chmod_or_fchmod (char const *, int, mode_t); |