summaryrefslogtreecommitdiff
path: root/tempfile.c
Commit message (Expand)AuthorAgeFilesLines
* treewide: remove unnecessary includes of cache.hElijah Newren2023-03-211-1/+2
* wrapper.h: move declarations for wrapper.c functions from cache.hElijah Newren2023-03-211-0/+1
* tempfile: update comment describing state transitionsJeff King2022-08-301-13/+5
* tempfile: drop active flagJeff King2022-08-301-9/+1
* tempfile: avoid directory cleanup raceRené Scharfe2022-08-271-8/+6
* tempfile: add mks_tempfile_dt()René Scharfe2022-04-201-0/+63
* tempfile.c: introduce 'create_tempfile_mode'Taylor Blau2020-04-271-3/+3
* reopen_tempfile(): truncate opened fileJeff King2018-09-051-1/+1
* tempfile: rename 'template' variablesBrandon Williams2018-02-221-6/+6
* tempfile: auto-allocate tempfiles on heapJeff King2017-09-061-29/+37
* tempfile: remove deactivated list entriesJeff King2017-09-061-26/+20
* tempfile: use list.h for linked listJeff King2017-09-061-6/+7
* tempfile: release deactivated strbufs instead of resettingJeff King2017-09-061-1/+1
* tempfile: robustify cleanup handlerJeff King2017-09-061-9/+15
* tempfile: factor out deactivationJeff King2017-09-061-7/+11
* tempfile: factor out activationJeff King2017-09-061-8/+10
* tempfile: replace die("BUG") with BUG()Jeff King2017-09-061-10/+10
* tempfile: handle NULL tempfile pointers gracefullyJeff King2017-09-061-5/+7
* tempfile: prefer is_tempfile_active to bare accessJeff King2017-09-061-8/+8
* tempfile: do not delete tempfile on failed closeJeff King2017-09-061-19/+12
* tempfile: set errno to a known value before calling ferror()jk/tempfile-ferror-fclose-confusionJeff King2017-02-171-2/+7
* tempfile: avoid "ferror | fclose" trickJeff King2017-02-161-6/+2
* mingw: ensure temporary file handles are not inherited by child processesbw/mingw-avoid-inheriting-fd-to-lockfileBen Wijen2016-08-231-1/+6
* register_tempfile(): new function to handle an existing temporary fileMichael Haggerty2015-08-101-0/+8
* tempfile: add several functions for creating temporary filesMichael Haggerty2015-08-101-0/+53
* prepare_tempfile_object(): new function, extracted from create_tempfile()Michael Haggerty2015-08-101-7/+13
* tempfile: a new module for handling temporary filesMichael Haggerty2015-08-101-0/+238