lib/clean-temp.c


Log

Author Commit Date CI Message
Jim Meyering 1602f0af 2012-01-01T10:04:58 maint: update all copyright year number ranges Run "make update-copyright".
Bruno Haible 6310fc6d 2011-08-05T03:01:01 pathmax: Leave PATH_MAX undefined on the Hurd, and a constant otherwise. * lib/pathmax.h (PATH_MAX): Leave it undefined on GNU/Hurd. * lib/chdir-long.h: Include pathmax.h. * lib/clean-temp.c (PATH_MAX): Remove code that is done by pathmax.h. * lib/getcwd.c: Include pathmax.h instead of <limits.h>. (PATH_MAX): Remove code that is done by pathmax.h. * lib/canonicalize.c (PATH_MAX): Provide a fallback value. * lib/tmpfile.c: Add a comment. * m4/pathmax.m4 (gl_PATHMAX): Don't test for pathconf. * modules/chdir-long (Depends-on): Add pathmax. * modules/getcwd (Depends-on): Add pathmax. * tests/test-getcwd.c (test_abort_bug): Avoid syntax error when PATH_MAX is not defined. * doc/posix-headers/limits.texi: Mention the pathmax module. * NEWS: Mention the change.
Jim Meyering d60f3b0c 2011-01-01T20:17:23 maint: update almost all copyright ranges to include 2011 Run the new "make update-copyright" rule.
Jim Meyering b2e2010c 2010-01-01T10:31:12 update nearly all FSF copyright year lists to include 2010 Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
Bruno Haible 766d4f1d 2009-12-14T00:24:41 Move the malloc checking from module 'list' to new module 'xlist'.
Bruno Haible 441aa304 2009-12-10T20:28:30 Use spaces for indentation, not tabs.
Bruno Haible 57fdfd3f 2007-10-07T19:14:58 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible 90988ede 2007-06-09T11:11:14 Update after allocsa -> malloca renaming.
Bruno Haible e062ed7a 2007-03-16T00:30:06 Allow the use of a destructor for the values stored in the list.
Bruno Haible aa450ef4 2007-02-18T15:42:40 mkdtemp.h is replaced with <stdlib.h>.
Bruno Haible c33ce489 2007-02-16T02:58:04 Make use of _O_TEMPORARY on native Woe32 platforms.
Bruno Haible 854ebf64 2007-01-14T11:32:10 New module 'fchdir'.
Bruno Haible 7c6d5072 2006-11-06T13:03:10 Simplify xmalloc expressions. Add overflow check in xmalloc arguments.
Bruno Haible 20668199 2006-10-31T19:18:54 Make it compile in C++ mode.
Bruno Haible d4dbda64 2006-10-17T12:47:49 Avoid a gcc warning.
Bruno Haible 9779c750 2006-10-07T15:09:14 Comment changes.
Eric Blake 1e875448 2006-10-06T23:13:53 * clean-temp.h (close_stream_temp): New declaration. * clean-temp.c (includes): Pull in headers according to what other modules are in use. (close_stream_temp) [GNULIB_CLOSE_STREAM]: New function.
Bruno Haible 05477f4d 2006-10-06T21:37:28 Return an error indicator.
Bruno Haible 0bf9d2e4 2006-10-06T21:20:20 Provide a fallback for PATH_MAX.
Bruno Haible bd63935b 2006-10-06T12:17:22 Have clean-temp register file open descriptors to temporary files.
Bruno Haible 99099106 2006-09-14T14:18:36 Include <config.h> unconditionally.
Bruno Haible 0a622660 2006-07-24T16:45:17 New module 'clean-temp'.