summaryrefslogtreecommitdiff
path: root/lib/clean-temp.c
Commit message (Collapse)AuthorAgeFilesLines
* version-etc: new yearPaul Eggert2017-01-011-1/+1
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* Prefer American spelling for "initialize"Paul Eggert2016-04-031-1/+1
|
* version-etc: new yearPaul Eggert2016-01-011-1/+1
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* version-etc: new yearPaul Eggert2014-12-311-1/+1
| | | | | | * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date. * all files: Run 'make update-copyright'.
* fchdir: port 'open' and 'close' redefinitions to AIX 7.1Paul Eggert2014-05-221-7/+0
| | | | | | | | | | | | | | | * lib/chown.c, lib/clean-temp.c, lib/copy-file.c, lib/execute.c: * lib/fsusage.c, lib/gc-gnulib.c, lib/javacomp.c, lib/mountlist.c: * lib/openat-proc.c, lib/pagealign_alloc.c, lib/progreloc.c: * lib/spawn-pipe.c: Do not #undef 'open' and 'close'. AIX 7 does '#define open open64' and then 'int open64(const char *, int, ...);', which means the declaration for 'open' gets lost if we later '#undef open'. Discovered while building grep pretest 2.18.151-1c770 on AIX 7.1, where the compilation reported the non-fatal error "In function 'openat_proc_name' ... warning: implicit declaration of function 'open'". In this case the error is relatively harmless, but in other cases it might not be so minor.
* maint: update copyrightEric Blake2014-01-011-1/+1
| | | | | | I ran 'make update-copyright'. Signed-off-by: Eric Blake <eblake@redhat.com>
* maint: update all copyright year number rangesEric Blake2013-01-011-1/+1
| | | | | | Run "make update-copyright". Compare to commit 1602f0a from last year. Signed-off-by: Eric Blake <eblake@redhat.com>
* clean-temp: Fix memory leak.John Darrington2012-07-291-1/+4
| | | | | * lib/clean-temp.c (cleanup_temp_dir): Free also the 'subdirs' and 'files' members of tmpdir.
* tmpfile, clean-temp: Fix invocation of GetVersionEx.John Darrington2012-06-201-0/+5
| | | | | | * lib/tmpfile.c (supports_delete_on_close): Initialize parameter for GetVersionEx correctly. * lib/clean-temp.c (supports_delete_on_close): Likewise.
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* pathmax: Leave PATH_MAX undefined on the Hurd, and a constant otherwise.Bruno Haible2011-08-051-6/+3
| | | | | | | | | | | | | | | | | * 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.
* maint: update almost all copyright ranges to include 2011Jim Meyering2011-01-011-1/+1
| | | | Run the new "make update-copyright" rule.
* update nearly all FSF copyright year lists to include 2010Jim Meyering2010-01-011-1/+2
| | | | | Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
* Move the malloc checking from module 'list' to new module 'xlist'.Bruno Haible2009-12-141-1/+2
|
* Use spaces for indentation, not tabs.Bruno Haible2009-12-101-104/+104
|
* Change copyright notice from GPLv2+ to GPLv3+.Bruno Haible2007-10-071-5/+4
|
* Update after allocsa -> malloca renaming.Bruno Haible2007-06-091-6/+6
|
* Allow the use of a destructor for the values stored in the list.Bruno Haible2007-03-161-3/+6
|
* mkdtemp.h is replaced with <stdlib.h>.Bruno Haible2007-02-181-1/+0
|
* Make use of _O_TEMPORARY on native Woe32 platforms.Bruno Haible2007-02-161-4/+64
|
* New module 'fchdir'.Bruno Haible2007-01-141-0/+7
|
* Simplify xmalloc expressions. Add overflow check in xmalloc arguments.Bruno Haible2006-11-061-3/+2
|
* Make it compile in C++ mode.Bruno Haible2006-10-311-10/+10
|
* Avoid a gcc warning.Bruno Haible2006-10-171-0/+3
|
* Comment changes.Bruno Haible2006-10-071-2/+2
|
* * clean-temp.h (close_stream_temp): New declaration.Eric Blake2006-10-061-0/+32
| | | | | | * clean-temp.c (includes): Pull in headers according to what other modules are in use. (close_stream_temp) [GNULIB_CLOSE_STREAM]: New function.
* Return an error indicator.Bruno Haible2006-10-061-22/+48
|
* Provide a fallback for PATH_MAX.Bruno Haible2006-10-061-0/+9
|
* Have clean-temp register file open descriptors to temporary files.Bruno Haible2006-10-061-0/+163
|
* Include <config.h> unconditionally.Bruno Haible2006-09-141-3/+1
|
* New module 'clean-temp'.Bruno Haible2006-07-241-0/+485