aboutsummaryrefslogtreecommitdiffstats
path: root/tempfile.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-07lockfile: report when rollback failsPatrick Steinhardt1-8/+13
2023-07-17Merge branch 'cw/compat-util-header-cleanup'Junio C Hamano1-1/+0
2023-07-05treewide: remove unnecessary includes for wrapper.hCalvin Wan1-1/+0
2023-06-12abspath: move related functions to abspathCalvin Wan1-0/+1
2023-03-21treewide: remove unnecessary includes of cache.hElijah Newren1-1/+2
2023-03-21wrapper.h: move declarations for wrapper.c functions from cache.hElijah Newren1-0/+1
2022-08-30tempfile: update comment describing state transitionsJeff King1-13/+5
2022-08-30tempfile: drop active flagJeff King1-9/+1
2022-08-27tempfile: avoid directory cleanup raceRené Scharfe1-8/+6
2022-04-20tempfile: add mks_tempfile_dt()René Scharfe1-0/+63
2020-04-27tempfile.c: introduce 'create_tempfile_mode'Taylor Blau1-3/+3
2018-09-05reopen_tempfile(): truncate opened fileJeff King1-1/+1
2018-02-22tempfile: rename 'template' variablesBrandon Williams1-6/+6
2017-09-06tempfile: auto-allocate tempfiles on heapJeff King1-29/+37
2017-09-06tempfile: remove deactivated list entriesJeff King1-26/+20
2017-09-06tempfile: use list.h for linked listJeff King1-6/+7
2017-09-06tempfile: release deactivated strbufs instead of resettingJeff King1-1/+1
2017-09-06tempfile: robustify cleanup handlerJeff King1-9/+15
2017-09-06tempfile: factor out deactivationJeff King1-7/+11
2017-09-06tempfile: factor out activationJeff King1-8/+10
2017-09-06tempfile: replace die("BUG") with BUG()Jeff King1-10/+10
2017-09-06tempfile: handle NULL tempfile pointers gracefullyJeff King1-5/+7
2017-09-06tempfile: prefer is_tempfile_active to bare accessJeff King1-8/+8
2017-09-06tempfile: do not delete tempfile on failed closeJeff King1-19/+12
2017-02-17tempfile: set errno to a known value before calling ferror()Jeff King1-2/+7
2017-02-16tempfile: avoid "ferror | fclose" trickJeff King1-6/+2
2016-08-23mingw: ensure temporary file handles are not inherited by child processesBen Wijen1-1/+6
2015-08-10register_tempfile(): new function to handle an existing temporary fileMichael Haggerty1-0/+8
2015-08-10tempfile: add several functions for creating temporary filesMichael Haggerty1-0/+53
2015-08-10prepare_tempfile_object(): new function, extracted from create_tempfile()Michael Haggerty1-7/+13
2015-08-10tempfile: a new module for handling temporary filesMichael Haggerty1-0/+238