modules/mkdir


Log

Author Commit Date CI Message
Eric Blake 90cff1db 2009-10-29T11:44:12 dirname-lgpl: adjust clients that don't need full dirname Some of these modules still use xalloc_die from other paths, but mkdir and rename are definitely reduced in complexity. * modules/backupfile (Depends-on): Use dirname-lgpl, not dirname. * modules/filenamecat (Depends-on): Likewise. * modules/linkat (Depends-on): Likewise. * modules/mkancesdirs (Depends-on): Likewise. * modules/mkdir (Depends-on): Likewise. * modules/openat (Depends-on): Likewise. * modules/savewd (Depends-on): Likewise. * modules/rename (Depends-on): Likewise. (License): Relax license. * modules/mkdir-tests (Depends-on): Drop progname. (Makefile.am): Delete unneeded LDADD. * modules/rename-tests (Depends-on, Makefile.am): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake 9c093736 2009-10-29T09:37:42 mkdir: make safe for libraries xstrdup is too dangerous to use in a syscall replacement. * modules/mkdir (Depends-on): Drop xalloc. * lib/mkdir.c (rpl_mkdir): Fail with ENOMEM rather than calling exit. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake cb7317d7 2009-10-06T16:08:46 mkdir, mkdirat: fix cygwin 1.5.x bug mkdir("dir/./",mode) mistakenly succeeded. * lib/mkdir.c (rpl_mkdir) [FUNC_MKDIR_DOT_BUG]: Work around bug. * m4/mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Move... * m4/mkdir.m4 (gl_FUNC_MKDIR): ...here, and add check for cygwin bug. (gl_PREREQ_MKDIR): Delete unused macro. * modules/mkdir (Files): Track file rename. (configure.ac): Update macro name. * modules/openat (Depends-on): Add mkdir. * doc/posix-functions/mkdir.texi (mkdir): Document the bug. Signed-off-by: Eric Blake <ebb9@byu.net>
Jim Meyering 86a346fb 2008-04-29T13:15:02 * modules/mkdir (License): Re-license as LGPLv2+.
Bruno Haible 3bd1a530 2007-05-01T10:42:29 Depend on sys_stat, since it fixes an mkdir portability problem.
Bruno Haible 5eeec029 2006-10-13T12:40:22 gnulib-tool now synthesizes the EXTRA_DIST line.
Bruno Haible e8684643 2006-10-12T18:52:30 Distribute all lib/* source files through EXTRA_DIST.
Bruno Haible 5143f4e9 2004-09-22T15:11:04 Add a license tag to every module.
Jim Meyering f8f8f782 2004-04-20T08:51:39 Change UTILS_ macro name prefix to gl_.
Bruno Haible 6f99528a 2003-01-20T10:02:37 Add a Maintainer.
Bruno Haible 2e82f91f 2003-01-13T16:07:17 Add module descriptions.
Bruno Haible 740e9a30 2002-12-31T13:46:30 Module description.