summaryrefslogtreecommitdiff
path: root/gnulib
AgeCommit message (Collapse)Author
2009-12-04id: handle systems without getgroups supportEric Blake
If getgroups failed with ENOSYS, mgetgroups would unnecessarily fail, and that provoked id into freeing an uninitialized pointer. Meanwhile, we were not using xalloc_die properly. Both issues are better solved in gnulib, by introducing xgetgroups; this patch uses the new interface. Regression introduced by commit 6a31fd8d7. * gnulib: Update, for mgetgroups improvments. * src/id.c (print_full_info): Adjust caller to die on allocation failure, and no longer worry about ENOSYS. * src/group-list.c (print_group_list): Likewise. * src/setuidgid.c (main): Likewise. * NEWS: Mention the fix. * THANKS: Update. Reported by Scott Harrison.
2009-12-01rm: fix empty-name bug introduced with conversion to use ftsJim Meyering
While "rm ''" would properly fail, "rm F1 '' F2" would fail to remove F1 and F2, due to the empty string argument. This bug was introduced on 2009-07-12, via commit 4f73ecaf, "rm: rewrite to use fts". * gnulib: Update to latest, for fixed fts.c. * NEWS (Bug fixes): Describe it. * tests/rm/empty-name: Adjust for changed diagnostic. (mk_file): Define, copied from misc/ls-misc. (empty-name-2): New test, for today's fix. * lib/xfts.c (xfts_open): Reflect the change in fts_open, now that it no longer fails immediately when one argument is the empty string. Assert that the bit flags were not the cause of failure. * po/POTFILES.in: Remove xfts.c. * THANKS: Update. Reported by Ladislav Hagara.
2009-11-29build: update gnulib submodule to latestJim Meyering
2009-11-20maint: cfg.mk: remove factored-out ftp host/dir definitionsJim Meyering
* cfg.mk (gnu_ftp_host-alpha, gnu_ftp_host-beta gnu_ftp_host-stable): (gnu_rel_host, url_dir_list): Remove definitions. The defaults, now provided by maint.mk, are the same. * gnulib: Update for latest, including those maint.mk additions.
2009-11-20build: update gnulib submodule to latestJim Meyering
2009-11-18build: update gnulib for Solaris utimens workaroundJim Meyering
2009-11-18build: update gnulib submodule to latestJim Meyering
2009-11-17build: update gnulib for Solaris 10 unsetenv work-aroundJim Meyering
2009-11-17build: update from gnulib for (un)setenv fixesJim Meyering
2009-11-16build: update gnulib submodule to latestJim Meyering
2009-11-13build: update gnulib to latest, for fixed test-getgroups.cJim Meyering
2009-11-13build: update gnulib, for getgroups improvementsEric Blake
A replacement getgroups is now guaranteed to exist, but it may fail with ENOSYS. mgetgroups is moved to gnulib, and now takes gid_t instead of GETGROUPS_T (but setgroups still needs GETGROUPS_T). * gnulib: Update to latest. * gl/modules/mgetgroups: Delete, moved to gnulib. * gl/m4/mgetgroups.m4: Likewise. * gl/lib/mgetgroups.h: Likewise. * gl/lib/mgetgroups.c: Likewise. * src/group-list.c (print_group_list): Adjust callers. * src/id.c (print_full_info): Likewise.
2009-11-12build: update gnulib to latest; more *BSD and Solaris work-aroundsJim Meyering
2009-11-09build: update gnulib submodule to latest for its FreeBSD fixesJim Meyering
2009-11-06build: move do-release-commit-and-tag to gnulibJim Meyering
* bootstrap.conf (gnulib_modules): Add do-release-commit-and-tag. * build-aux/do-release-commit-and-tag: Remove file. Now it's in gnulib. * gnulib: Update submodule to the latest, to get the just-moved script.
2009-11-05build: reflect gnulib changes to tempnameEric Blake
In glibc 2.11 and gnulib, gen_tempname added a parameter suffixlen (unfortunately, it is typed as int rather than size_t, for historical compatibility to a poor choice by BSD). * gnulib: Import latest changes. * gl/lib/tempname.h.diff: Accommodate new suffixlen parameter. * gl/lib/tempname.c.diff (check_x_suffix): Allow for X in suffix beyond x_suffix_len. (gen_tempname_len): Add suffixlen parameter. (__gen_tempname): Update caller. * src/mktemp.c (mkstemp_len, mkdtemp_len): Update callers.
2009-11-02build: update gnulib submodule to latest, for fewer compiler warningsEric Blake
2009-10-29build: update gnulib submodule to latestJim Meyering
2009-10-22build: update gnulib submodule to latest, for test cleanupsEric Blake
2009-10-22maint: turn on compiler warnings for gnulib testsEric Blake
* gnulib-tests/Makefile.am (AM_CFLAGS): Add WARN_CFLAGS. * configure.ac (enable-gcc-warnings): Also use -funit-at-a-time, to silence gcc 4.3.4 -Wdisabled-optimization. * .gitignore: Ignore some more files.
2009-10-22tail -f: avoid a race conditionGiuseppe Scrivano
* NEWS (Bug fixes): Mention it. * src/tail.c (check_fspec): New function. (tail_forever_inotify): Ensure there is no new data before entering the inotify events wait loop.
2009-10-21build: update gnulib submodule to latest, for utimens enhancementsEric Blake
2009-10-19build: use gnulib's isblank moduleJim Meyering
* bootstrap.conf (gnulib_modules): Add isblank. * src/system.h (isblank): Don't define. * m4/check-decl.m4: Don't check for isblank declaration. * gnulib: Update submodule to latest.
2009-10-17build: update gnulib submodule to latestJim Meyering
2009-10-10build: update gnulib submodule to latest, for utimens improvementsEric Blake
2009-10-09build: update gnulib submodule to latest, for getfilecon wrappersJim Meyering
2009-10-06build: update gnulib submodule to latestJim Meyering
2009-10-03build: update gnulib submodule to latestJim Meyering
2009-10-02build: update gnulib submodule to latestJim Meyering
2009-09-30build: update gnulib submodule to latestJim Meyering
2009-09-24build: update gnulib submodule to latestEric Blake
2009-09-23build: update gnulib submodule to latestEric Blake
2009-09-23build: update gnulib submodule to latestJim Meyering
2009-09-14build: update gnulib submodule to latest, for fixed posixtm moduleJim Meyering
2009-09-10build: update gnulib submodule to latestJim Meyering
2009-09-08* gnulib: Update submodule to latest.Jim Meyering
2009-09-07build: update gnulib submodule to latestJim Meyering
2009-09-05build: update gnulib submodule to latestJim Meyering
2009-09-04build: update from gnulibEric Blake
* gnulib: Update submodule to latest.
2009-09-04mv, cp: tweak LINK_FOLLOWS_SYMLINKS logicEric Blake
* gnulib: Update to latest gnulib. * src/copy.c (copy_internal): Adjust comment in light of POSIX 2008, and deal with macro now being tri-state.
2009-09-01build: update from gnulibJim Meyering
* gnulib: Update submodule to latest.
2009-08-29build: update from gnulibJim Meyering
* gnulib: Update submodule to latest.
2009-08-23build: update from *public* gnulibJim Meyering
* gnulib: Update submodule to latest. Kamil Dudka reported that bootstrap was broken.
2009-08-22build: update from gnulibJim Meyering
* gnulib: Update submodule to latest.
2009-08-18build: update from gnulibJim Meyering
* gnulib: Update submodule to latest.
2009-08-17build: update from gnulibJim Meyering
* gnulib: Update submodule to latest.
2009-08-14build: use gnulib's getopt-gnu module (getopt is now deprecated)Jim Meyering
* bootstrap.conf (gnulib_modules): Gnulib's getopt module is now deprecated; use the new, preferred name, getopt-gnu. * gnulib: Update to latest.
2009-08-10build: update from gnulib, for HOST_NAME_MAX on solaris 10Jim Meyering
* gnulib: Update submodule to latest.
2009-08-06maint: move selinux-at module from gl/ to gnulibJim Meyering
* gl/lib/selinux-at.c: Remove file. * gl/lib/selinux-at.h: Likewise. * gl/modules/selinux-at: Likewise. * gnulib: update to latest, to get the new module.
2009-08-04maint: move the update-copyright rule to gnulib's maint.mkJim Meyering
* gnulib: Update submodule to get latest maint.mk. * Makefile.am (update-copyright): Remove rule; now it's in maint.mk. * m4/check-decl.m4: Update sole remaining copyright year list.