1. 19 Nov, 2011 3 commits
    • Bruno Haible's avatar
      Depend on module fcntl-h when AT_FDCWD is used. · e0009e0b
      Bruno Haible authored
      * modules/utimens (Depends-on): Add fcntl-h.
      * modules/areadlinkat (Depends-on): Likewise.
      * modules/areadlinkat-with-size (Depends-on): Likewise.
      * modules/faccessat (Depends-on): Likewise.
      * modules/fchmodat (Depends-on): Likewise.
      * modules/fchownat (Depends-on): Likewise.
      * modules/getcwd (Depends-on): Likewise.
      * modules/mkdirat (Depends-on): Likewise.
      * modules/mkfifoat (Depends-on): Likewise.
      * modules/readlinkat (Depends-on): Likewise.
      * modules/symlinkat (Depends-on): Likewise.
      * modules/dup2-tests (Depends-on): Likewise.
      * modules/fdutimensat-tests (Depends-on): Likewise.
      * modules/futimens-tests (Depends-on): Likewise.
      e0009e0b
    • Bruno Haible's avatar
      openat: Fix file list. · 320ccdcb
      Bruno Haible authored
      * modules/openat (Files): Remove lib/at-func.c.
      320ccdcb
    • Bruno Haible's avatar
      Ensure 'inline' can be used in tests/test-utimens-common.h. · be965b08
      Bruno Haible authored
      * modules/fdutimensat-tests (configure.ac): Require AC_C_INLINE.
      * modules/futimens-tests (configure.ac): Likewise.
      * modules/utimens-tests (configure.ac): Likewise.
      * modules/utimensat-tests (configure.ac): Likewise.
      be965b08
  2. 18 Nov, 2011 2 commits
    • Paul Eggert's avatar
      * modules/getcwd (Depends-on): Add fdopendir. · 0e001bce
      Paul Eggert authored
      This fixes one of the two problems reported by Kai Habel in
      <http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00237.html>.
      0e001bce
    • Paul Eggert's avatar
      modules/crypto/gc-*: simplify dependencies and fix stdalign.h bug · a9fb0eca
      Paul Eggert authored
      stdalign problem reported by Ian Beckwith in
      <http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00238.html>.
      * modules/crypto/gc-arcfour (Depends-on):
      Depend conditionally on crypto/arcfour.
      * modules/crypto/gc-arctwo (Depends-on):
      Depend conditionally on crypto/arctwo.
      * modules/crypto/gc-des (Depends-on):
      Depend conditionally on crypto/des.
      * modules/crypto/gc-hmac-md5 (Depends-on):
      Depend conditionally on crypto/hmac-md5.
      * modules/crypto/gc-hmac-sha1 (Depends-on):
      Depend conditionally on crypto/hmac-sha1.
      * modules/crypto/gc-md2 (Depends-on): Remove stdint, minmax.
      * modules/crypto/gc-md4 (Depends-on):
      Depend conditionally on crypto/md4.
      * modules/crypto/gc-md5 (Depends-on):
      Depend conditionally on crypto/md5.
      * modules/crypto/gc-rijndael (Depends-on):
      Depend conditionally on crypto/rijndael.
      * modules/crypto/gc-sha1 (Depends-on):
      Depend conditionally on crypto/sha1.
      * modules/crypto/gc-arcfour:
      * modules/crypto/gc-arctwo:
      * modules/crypto/gc-des:
      * modules/crypto/gc-hmac-md5:
      * modules/crypto/gc-hmac-sha1:
      * modules/crypto/gc-md2:
      * modules/crypto/gc-md4:
      * modules/crypto/gc-md5:
      * modules/crypto/gc-rijndael:
      * modules/crypto/gc-sha1:
      (Files, Depends-on, configure.ac): Remove now-unnecessary stuff,
      now that the conditional dependencies do the work for us.
      a9fb0eca
  3. 17 Nov, 2011 1 commit
  4. 16 Nov, 2011 1 commit
    • Bruno Haible's avatar
      Fix some modules' file list. · 4f6a7ef5
      Bruno Haible authored
      * modules/fstatat (Files): Add m4/lstat.m4.
      * modules/openat (Files): Likewise.
      * modules/unlinkat (Files): Likewise.
      4f6a7ef5
  5. 12 Nov, 2011 1 commit
    • Jim Meyering's avatar
      revamp the other test-exclude?.sh scripts to use init.sh, too · 293ba048
      Jim Meyering authored
      * tests/test-exclude1.sh: Use init.sh.
      * tests/test-exclude2.sh: Likewise.
      * tests/test-exclude3.sh: Likewise.
      * tests/test-exclude4.sh: Likewise.
      * tests/test-exclude5.sh: Likewise.
      * tests/test-exclude6.sh: Likewise.
      * tests/test-exclude7.sh: Likewise.
      * tests/test-exclude8.sh: Likewise.
      * modules/exclude-tests (Files): List init.sh.
      293ba048
  6. 10 Nov, 2011 1 commit
    • Bruno Haible's avatar
      ptsname_r: Avoid compilation error on OSF/1 5.1. · f5562fca
      Bruno Haible authored
      * lib/stdlib.in.h (ptsname_r): Override if REPLACE_PTSNAME_R is 1.
      * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize REPLACE_PTSNAME_R.
      * m4/ptsname_r.m4 (gl_FUNC_PTSNAME_R): Set REPLACE_PTSNAME_R if the
      function is not declared or incompatibly declared.
      * modules/stdlib (Makefile.am): Substitute REPLACE_PTSNAME_R.
      * modules/ptsname_r (Depends-on, configure.ac): Update.
      * doc/glibc-functions/ptsname_r.texi: Mention the OSF/1 problems.
      f5562fca
  7. 09 Nov, 2011 8 commits
    • Bruno Haible's avatar
      Improve MODULES.html output. · 8a3d36c8
      Bruno Haible authored
      * modules/mkfifoat (Description): Use the word "function".
      * modules/readlinkat (Description): Likewise.
      * modules/symlinkat (Description): Likewise.
      8a3d36c8
    • Eric Blake's avatar
      ptsname_r-tests: new test module · 12597d10
      Eric Blake authored
      For now, this tests glibc behavior of both returning an errno
      value as well as setting errno; we may need to relax that.
      
      * modules/ptsname_r-tests: New module.
      * tests/test-ptsname_r.c: New file.
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
      12597d10
    • Eric Blake's avatar
      ptsname_r: new module · 78232883
      Eric Blake authored
      For now, this replacement focuses solely on compilation
      compatibility, and assumes that isatty() and ttyname_r() work
      on a master side pty; if this assumption fails, or if
      thread-safety is also required, then a later patch can follow
      the lead of strerror_r.c in wrapping the system ptsname()
      with a lock.
      
      * modules/ptsname_r: New module.
      * m4/ptsname_r.m4 (gl_FUNC_PTSNAME_R): New file.
      * lib/ptsname.c (__ptsname_r): Split...
      * lib/ptsname_r.c: ...into new file.
      * m4/stdlib_h.m4 (gl_STDLIB_H): Check for decl.
      (gl_STDLIB_H_DEFAULTS): Set witness defaults.
      * modules/stdlib (Makefile.am): Substitute witnesses.
      * lib/stdlib.in.h (ptsname_r): Declare it.
      * doc/glibc-functions/ptsname_r.texi (ptsname_r): Document it.
      * MODULES.html.sh (Misc): Likewise.
      * modules/ptsname (Depends-on): Alter dependency.
      * doc/posix-functions/ptsname.texi (ptsname): Mention new module.
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
      78232883
    • Bruno Haible's avatar
      More conditional dependencies. · 91dc8145
      Bruno Haible authored
      * modules/faccessat (Depends-on): Add conditions.
      * modules/fchmodat (Depends-on): Likewise.
      * modules/fchownat (Depends-on): Likewise.
      * modules/fstatat (Depends-on): Likewise.
      * modules/mkfifoat (Depends-on): Likewise.
      * modules/readlinkat (Depends-on): Likewise.
      * modules/symlinkat (Depends-on): Likewise.
      * modules/unlinkat (Depends-on): Likewise.
      * modules/utimensat (Depends-on): Likewise.
      * modules/mkdirat (Depends-on): Add sys_stat. Add conditions.
      * modules/linkat (Depends-on): Refine the conditions.
      * modules/renameat (Depends-on): Likewise.
      91dc8145
    • Bruno Haible's avatar
      faccessat: Move AC_LIBOBJ invocation to module description. · 471fc34a
      Bruno Haible authored
      * m4/faccessat.m4 (gl_PREREQ_FACCESSAT): New macro.
      (gl_FUNC_FACESSAT): Don't test for access() here. Move AC_LIBOBJ
      invocation from here...
      * modules/faccessat (configure.ac): ... to here. Invoke
      gl_PREREQ_FACCESSAT.
      471fc34a
    • Bruno Haible's avatar
      renameat: Fix dependencies. · 41d11e92
      Bruno Haible authored
      * modules/renameat (Depends-on): Add stdbool.
      41d11e92
    • Bruno Haible's avatar
      mkfifoat: Fix module description. · 8bef05db
      Bruno Haible authored
      * modules/mkfifoat (configure.ac): Invoke gl_SYS_STAT_MODULE_INDICATOR,
      not gl_UNISTD_MODULE_INDICATOR.
      8bef05db
    • Bruno Haible's avatar
      fstatat: Remove unused dependency. · e6f2729d
      Bruno Haible authored
      * modules/fstatat (Depends-on): Remove fstat.
      e6f2729d
  8. 08 Nov, 2011 1 commit
  9. 06 Nov, 2011 7 commits
    • Bruno Haible's avatar
      ldexp, ldexpf, ldexpl: Enhance tests. · dc57f70a
      Bruno Haible authored
      * tests/test-ldexp.h: New file, combining code from tests/test-ldexp.c
      and tests/test-ldexpl.c.
      * tests/test-ldexpl.c: (DOUBLE, ISNAN, INFINITY, NAN, L_, MINUS_ZERO,
      LDEXP, MIN_EXP, MAX_EXP): New macros.
      Include test-ldexp.h.
      (main): Just call test_function.
      * tests/test-ldexp.c: Include float.h, isnand-nolibm.h, minus-zero.h,
      infinity.h, nan.h.
      (DOUBLE, ISNAN, INFINITY, NAN, L_, MINUS_ZERO, LDEXP, MIN_EXP,
      MAX_EXP): New macros.
      Include test-ldexp.h.
      (x, y): Remove variables.
      (main): Just call test_function.
      * tests/test-ldexpf.c: Include float.h, isnanf-nolibm.h, minus-zero.h,
      infinity.h, nan.h.
      (DOUBLE, ISNAN, INFINITY, NAN, L_, MINUS_ZERO, LDEXP, MIN_EXP,
      MAX_EXP): New macros.
      Include test-ldexp.h.
      (x, y): Remove variables.
      (main): Just call test_function.
      * modules/ldexpl-tests (Files): Add tests/test-ldexp.h.
      * modules/ldexp-tests (Files): Add tests/test-ldexp.h,
      tests/minus-zero.h, tests/infinity.h, tests/nan.h.
      (Depends-on): Add isnand-nolibm, signbit, float.
      * modules/ldexpf-tests (Files): Add tests/test-ldexp.h,
      tests/minus-zero.h, tests/infinity.h, tests/nan.h.
      (Depends-on): Add isnanf-nolibm, signbit, float.
      dc57f70a
    • Bruno Haible's avatar
      Tests for module 'fmal'. · 55c6491b
      Bruno Haible authored
      * modules/fmal-tests: New file.
      * tests/test-fmal1.c: New file.
      * tests/test-fmal2.c: New file.
      55c6491b
    • Bruno Haible's avatar
      New module 'fmal'. · f16415c0
      Bruno Haible authored
      * lib/math.in.h (fmal): New declaration.
      * lib/fmal.c: New file.
      * m4/fmal.m4: New file.
      * m4/math_h.m4 (gl_MATH_H): Test whethern fmal is declared.
      (gl_MATH_H_DEFAULTS): Initialize GNULIB_FMAL, HAVE_FMAL, REPLACE_FMAL.
      * modules/math (Makefile.am): Substitute GNULIB_FMAL, HAVE_FMAL,
      REPLACE_FMAL.
      * modules/fmal: New file.
      * doc/posix-functions/fmal.texi: Mention the new module and the various
      bugs.
      f16415c0
    • Bruno Haible's avatar
      Tests for module 'fmaf'. · 2b5d199a
      Bruno Haible authored
      * modules/fmaf-tests: New file.
      * tests/test-fmaf1.c: New file.
      * tests/test-fmaf2.c: New file.
      2b5d199a
    • Bruno Haible's avatar
      New module 'fmaf'. · e657a45c
      Bruno Haible authored
      * lib/math.in.h (fmaf): New declaration.
      * lib/fmaf.c: New file.
      * m4/fmaf.m4: New file.
      * m4/math_h.m4 (gl_MATH_H): Test whethern fmaf is declared.
      (gl_MATH_H_DEFAULTS): Initialize GNULIB_FMAF, HAVE_FMAF, REPLACE_FMAF.
      * modules/math (Makefile.am): Substitute GNULIB_FMAF, HAVE_FMAF,
      REPLACE_FMAF.
      * modules/fmaf: New file.
      * doc/posix-functions/fmaf.texi: Mention the new module and the various
      bugs.
      e657a45c
    • Bruno Haible's avatar
      Tests for module 'fma'. · b8d5f042
      Bruno Haible authored
      * modules/fma-tests: New file.
      * tests/test-fma1.c: New file.
      * tests/test-fma1.h: New file.
      * tests/test-fma2.c: New file.
      * tests/test-fma2.h: New file.
      b8d5f042
    • Bruno Haible's avatar
      New module 'fma'. · cebba9fa
      Bruno Haible authored
      * lib/math.in.h (fma): New declaration.
      * lib/fma.c: New file.
      * m4/fma.m4: New file.
      * m4/fegetround.m4: New file.
      * m4/math_h.m4 (gl_MATH_H): Test whethern fma is declared.
      (gl_MATH_H_DEFAULTS): Initialize GNULIB_FMA, HAVE_FMA, REPLACE_FMA.
      * modules/math (Makefile.am): Substitute GNULIB_FMA, HAVE_FMA,
      REPLACE_FMA.
      * modules/fma: New file.
      * doc/posix-functions/fma.texi: Mention the new module and the various
      bugs.
      cebba9fa
  10. 05 Nov, 2011 3 commits
    • Bruno Haible's avatar
      New modules 'at-internal', 'openat-h', split off from module 'openat'. · 667561d7
      Bruno Haible authored
      * modules/at-internal: New file, extracted from modules/openat.
      * modules/openat-h: New file.
      667561d7
    • Bruno Haible's avatar
      New modules 'at-internal', 'openat-h', split off from module 'openat'. · 75000c49
      Bruno Haible authored
      * m4/openat.m4 (gl_FUNC_OPENAT): Don't set GNULIB_OPENAT. Don't
      invoke gl_PREREQ_OPENAT and gl_MODULE_INDICATOR.
      * modules/openat (Description): Add reference to POSIX function.
      (Files): Remove lib/openat.h, lib/openat-proc.c.
      (Depends-on): Add at-internal, openat-h. Remove fdopendir, gettext-h,
      intprops, unistd.
      (configure.ac): Remove AC_LIBOBJ of openat-proc. Invoke
      gl_PREREQ_OPENAT, gl_MODULE_INDICATOR here. Invoke
      gl_FCNTL_MODULE_INDICATOR.
      (Include): Remove unistd.h, openat.h.
      * modules/areadlinkat (Files): Add lib/at-func.c.
      (Depends-on): Add at-internal, dosname, errno, extensions, fchdir,
      openat-die, openat-h, save-cwd.
      * modules/areadlinkat-with-size (Files): Add lib/at-func.c.
      (Depends-on): Add at-internal, dosname, errno, extensions, fchdir,
      openat-die, openat-h, save-cwd, unistd.
      * modules/faccessat (Files): Add lib/at-func.c, lib/openat-priv.h.
      (Depends-on): Add at-internal, dosname, errno, fchdir, openat-die,
      openat-h, save-cwd. Remove fcntl-h, openat.
      * modules/fchmodat (Files): Remove lib/openat.h.
      (Depends-on): Add at-internal, openat-h. Remove dirent, fcntl-h,
      openat, stdbool, unistd.
      * modules/fchownat (Files): Remove lib/openat.h.
      (Depends-on): Add at-internal, openat-h. Remove dirent, fcntl-h,
      openat, stdbool, sys_stat.
      * modules/fdopendir (Files): Remove lib/openat-priv.h,
      lib/openat-proc.c.
      (Depends-on): Add at-internal.
      (condigure.ac): Remove AC_LIBOBJ of openat-proc.
      * modules/fstatat (Files): Remove lib/openat.h.
      (Depends-on): Add at-internal, openat-h. Remove dirent, openat,
      stdbool, unistd.
      * modules/fts (Depends-on): Add openat-h.
      * modules/linkat (Depends-on): Add at-internal, openat-h. Remove
      openat.
      * modules/mkdirat (Files): Remove lib/openat.h.
      (Depends-on): Add at-internal, openat-h. Remove dirent, fcntl-h,
      openat, stdbool, sys_stat.
      * modules/mkfifoat (Files): Add lib/at-func.c.
      (Depends-on): Add at-internal, dosname, errno, fchdir, openat-die,
      openat-h, save-cwd. Remove fcntl-h, openat.
      * modules/openat-die (Depends-on): Add openat-h. Remove openat.
      * modules/readlinkat (Files): Add lib/at-func.c.
      (Depends-on): Add at-internal, dosname, errno, fchdir, openat-die,
      openat-h, save-cwd. Remove fcntl-h, openat.
      * modules/renameat (Depends-on): Add at-internal, openat-h. Remove
      openat.
      * modules/selinux-at (Files): Add lib/at-func.c.
      (Depends-on): Add at-internal, dosname, errno, extensions, fchdir,
      fcntl-h, openat-die, openat-h, save-cwd, unistd. Remove openat.
      * modules/symlinkat (Files): Add lib/at-func.c.
      (Depends-on): Add at-internal, dosname, errno, fchdir, openat-die,
      openat-h, save-cwd. Remove fcntl-h, openat.
      * modules/unlinkat (Files): Remove lib/openat.h.
      (Depends-on): Add at-internal, openat-h. Remove dirent, openat,
      stdbool.
      * modules/utimensat (Files): Add lib/at-func.c.
      (Depends-on): Add at-internal, dosname, errno, fchdir, fcntl-h,
      openat-die, openat-h, save-cwd.
      * modules/fchownat-tests (Depends-on): Add openat-h. Remove openat.
      * modules/fdutimensat-tests (Depends-on): Add openat.
      * modules/fstatat-tests (Depends-on): Add openat-h.
      * modules/readlinkat-tests (Depends-on): Add openat.
      * modules/symlinkat-tests (Depends-on): Add openat.
      75000c49
    • Bruno Haible's avatar
      fchownat, renameat, unlinkat: Fix dependencies. · 0031e4f6
      Bruno Haible authored
      * modules/fchownat (Depends-on): Add fstatat.
      * modules/renameat (Depends-on): Likewise.
      * modules/unlinkat (Depends-on): Likewise.
      0031e4f6
  11. 04 Nov, 2011 6 commits
    • Paul Eggert's avatar
      openat: remove direct dependency on dirent · 908ae019
      Paul Eggert authored
      * lib/openat.h: Don't include <dirent.h>; it's no longer needed,
      and hasn't been needed ever since fdopendir was split into its own
      module on 2009-08-31.
      * modules/openat (Depends-on): Remove dirent.
      908ae019
    • Bruno Haible's avatar
      renameat: Optimize code size. · ab7fdecd
      Bruno Haible authored
      * modules/renameat (configure.ac): Don't compile at-func2.c if
      REPLACE_RENAMEAT is 1.
      ab7fdecd
    • Bruno Haible's avatar
      openat tests: Fix file list. · d2818235
      Bruno Haible authored
      * modules/openat-tests (Files): Add tests/test-open.h.
      d2818235
    • Bruno Haible's avatar
      openat, fchmodat, fchownat, linkat, renameat: Fix dependencies. · 630c05b0
      Bruno Haible authored
      * modules/fchmodat (Depends-on): Add openat-die.
      * modules/fchownat (Depends-on): Likewise.
      * modules/linkat (Depends-on): Likewise.
      * modules/renameat (Depends-on): Likewise.
      * modules/openat (Depends-on): Add dirent.
      630c05b0
    • Bruno Haible's avatar
      New module 'mkdirat', split off from module 'openat'. · 170fb7e1
      Bruno Haible authored
      * m4/mkdirat.m4: New file. extracted from m4/openat.m4.
      * m4/openat.m4 (gl_FUNC_OPENAT): Don't require gl_SYS_STAT_H_DEFAULTS.
      Don't test for mkdirat. Don't set GNULIB_MKDIRAT, HAVE_MKDIRAT.
      * modules/mkdirat: New file, extracted from modules/openat.
      * modules/openat (Files): Remove lib/mkdirat.c.
      (Depends-on): Remove mkdir.
      (configure.ac): Remove AC_LIBOBJ of mkdirat.
      (Include): Remove <sys/stat.h>.
      * modules/mkdirat-tests: New file, extracted from modules/openat-tests.
      * modules/openat-tests (Files): Remove tests/test-mkdirat.c,
      tests/test-mkdir.h.
      (Depends-on): Remove ignore-value.
      (Makefile.am): Remove rules for test-mkdirat.
      * doc/posix-functions/mkdirat.texi: Mention module 'mkdirat' instead
      of module 'openat'.
      * NEWS: Mention the change.
      170fb7e1
    • Bruno Haible's avatar
      New module 'fstatat', split off from module 'openat'. · 531e3287
      Bruno Haible authored
      * lib/openat.h (statat, lstatat): Enable only if GNULIB_FSTATAT is
      defined.
      * m4/fstatat.m4: New file. extracted from m4/openat.m4.
      * m4/openat.m4 (gl_FUNC_OPENAT): Don't set GNULIB_FSTATAT. Don't invoke
      gl_FUNC_FSTATAT.
      (gl_FUNC_FSTATAT): Moved to m4/fstatat.m4.
      * modules/fstatat: New file, extracted from modules/openat.
      * modules/openat (Files): Remove lib/fstatat.c.
      (Depends-on): Remove lstat.
      (configure.ac): Remove AC_LIBOBJ of fstatat.
      * modules/fstatat-tests: New file, extracted from modules/openat-tests.
      * modules/openat-tests (Files): Remove tests/test-fstatat.c,
      tests/test-lstat.h, tests/test-stat.h.
      (Depends-on): Remove getcwd-lgpl.
      (Makefile.am): Remove rules for test-fstatat.
      * doc/posix-functions/fstatat.texi: Mention module 'fstatat' instead
      of module 'openat'.
      * NEWS: Mention the change.
      * modules/getcwd (Depends-on): Add fstatat.
      * modules/linkat (Depends-on): Likewise.
      * modules/mkfifoat-tests (Depends-on): Likewise.
      * modules/utimensat (Depends-on): Add fstatat. Remove openat.
      531e3287
  12. 02 Nov, 2011 2 commits
    • Bruno Haible's avatar
      New module 'unlinkat', split off from module 'openat'. · 84c3f9cf
      Bruno Haible authored
      * m4/unlinkat.m4: New file, extracted from m4/openat.m4.
      * m4/openat.m4 (gl_FUNC_OPENAT): Don't set GNULIB_UNLINKAT,
      REPLACE_UNLINKAT, HAVE_UNLINKAT. Don't test for unlinkat.
      * modules/unlinkat: New file, extracted from modules/openat. Correct
      the dependency conditions.
      * modules/openat (Files): Remove lib/unlinkat.c.
      (Depends-on): Remove rmdir, unlink.
      (configure.ac): Remove AC_LIBOBJ of unlinkat.
      * modules/unlinkat-tests: New file, extracted from modules/openat-tests.
      * modules/openat-tests (Files): Remove tests/test-unlinkat.c,
      tests/test-rmdir.h, tests/test-unlink.h.
      (Depends-on): Remove unlinkdir.
      (Makefile.am): Remove rules for test-unlinkat.
      * doc/posix-functions/unlinkat.texi: Mention module 'unlinkat' instead
      of module 'openat'.
      * NEWS: Mention the change.
      * modules/linkat-tests (Depends-on): Add unlinkat.
      * modules/mkfifoat-tests (Depends-on): Likewise.
      * modules/readlinkat-tests (Depends-on): Likewise.
      84c3f9cf
    • Bruno Haible's avatar
      New module 'fchmodat', split off from module 'openat'. · afe598a5
      Bruno Haible authored
      * lib/openat.h (chmodat, lchmodat): Enable only if GNULIB_FCHMODAT is
      defined.
      * m4/fchmodat.m4: New file, extracted from m4/openat.m4.
      * m4/openat.m4 (gl_FUNC_OPENAT): Don't set GNULIB_FCHMODAT. Don't test
      for fchmodat, lchmod. Don't set HAVE_FCHMODAT.
      * modules/fchmodat: New file, extracted from modules/openat.
      * modules/openat (Files): Remove lib/fchmodat.c.
      (configure.ac): Remove AC_LIBOBJ of fchmodat.
      * modules/fchmodat-tests: New file, extracted from modules/openat-tests.
      * modules/openat-tests (Files): Remove tests/test-fchmodat.c.
      (Makefile.am): Remove rules for test-fchmodat.
      * doc/posix-functions/fchmodat.texi: Mention module 'fchmodat' instead
      of module 'openat'.
      * NEWS: Mention the change.
      afe598a5
  13. 01 Nov, 2011 3 commits
    • Bruno Haible's avatar
      fchownat: Improve description. · 87ec6b31
      Bruno Haible authored
      * modules/fchownat (Description): Add link to function.
      87ec6b31
    • Bruno Haible's avatar
      New module 'fchownat', split off from module 'openat'. · f2c56708
      Bruno Haible authored
      * lib/openat.h (chownat, lchownat): Enable only if GNULIB_FCHOWNAT is
      defined.
      * m4/fchownat.m4: New file, extracted from m4/openat.m4.
      * m4/openat.m4 (gl_FUNC_OPENAT): Don't set GNULIB_FCHOWNAT. Don't
      invoke gl_FUNC_FCHOWNAT.
      (gl_FUNC_FCHOWNAT_DEREF_BUG, gl_FUNC_FCHOWNAT_EMPTY_FILENAME_BUG,
      gl_FUNC_FCHOWNAT): Moved to m4/fchownat.m4.
      * modules/fchownat: New file, extracted from modules/openat.
      * modules/openat (Files): Remove lib/fchownat.c.
      (Depends-on): Remove lchown.
      (configure.ac): Remove AC_LIBOBJ of fchownat.
      * modules/fchownat-tests: New file, extracted from modules/openat-tests.
      * modules/openat-tests (Files): Remove tests/test-fchownat.c,
      tests/test-chown.h, tests/test-lchown.h, tests/nap.h.
      (Depends-on): Remove mgetgroups, usleep, stat-time.
      (configure.ac): Remove test for getegid.
      (Makefile.am): Remove rules for test-fchownat.
      * doc/posix-functions/fchownat.texi: Mention module 'fchownat' instead
      of module 'openat'.
      * NEWS: Mention the change.
      f2c56708
    • Paul Eggert's avatar
      stdalign: port better to MSVC and to Sun C 5.11 · 4e647944
      Paul Eggert authored
      I think these problems were reported by Bruno Haible, in email
      that I've unfortunately misplaced.
      * doc/posix-headers/stdalign.texi (stdalign.h): Document more
      shortcomings of MSVC and of Sun C 5.11.
      * lib/stdalign.in.h (_Alignas): Omit bogus extra parenthesis
      around __declspec arg.
      * modules/stdalign-tests (Files): Add tests/macros.h.
      * tests/test-stdalign.c: Do not include <stdlib.h>; no longer needed.
      Include macros.h, for ASSERT.
      (DECLARE_ALIGNED): Remove.
      (TEST_ALIGNMENT): Define to 16 if alignment is supported (more likely
      to catch bug), and to 1 if not (simplifies the rest of the code).
      (CHECK_STATIC): Always declare the alignment test vars; that's simpler.
      (CHECK_AUTO): Remove.
      (CHECK_ALIGNED): Check only the alignment of the static vars,
      since auto var alignment isn't supported by Sun C 5.11.
      (CHECK_TYPES): Remove.  All uses replaced by inline code, so that
      ASSERT failures are easier to diagnose.
      4e647944
  14. 28 Oct, 2011 1 commit