21 Commits (2f4ba2a867f0390f139b622dbafcab766cb88e80)

Author SHA1 Message Date
Taylor Blau bef0413c35 tempfile.c: introduce 'create_tempfile_mode' 5 years ago
Jeff King 6c003d6ffb reopen_tempfile(): truncate opened file 6 years ago
Brandon Williams ea8ace4ad3 tempfile: rename 'template' variables 7 years ago
Jeff King 076aa2cbda tempfile: auto-allocate tempfiles on heap 7 years ago
Jeff King 422a21c6a0 tempfile: remove deactivated list entries 7 years ago
Jeff King 24d82185d2 tempfile: use list.h for linked list 7 years ago
Jeff King 102cf7a6aa tempfile: release deactivated strbufs instead of resetting 7 years ago
Jeff King 6b93506696 tempfile: robustify cleanup handler 7 years ago
Jeff King b5f4dcb598 tempfile: factor out deactivation 7 years ago
Jeff King 2933ebbac1 tempfile: factor out activation 7 years ago
Jeff King 9b028aa45a tempfile: replace die("BUG") with BUG() 7 years ago
Jeff King f5b4dc7668 tempfile: handle NULL tempfile pointers gracefully 7 years ago
Jeff King e6fc267314 tempfile: prefer is_tempfile_active to bare access 7 years ago
Jeff King 49bd0fc222 tempfile: do not delete tempfile on failed close 7 years ago
Jeff King 7e8c9355b7 tempfile: set errno to a known value before calling ferror() 8 years ago
Jeff King 0838cbc22f tempfile: avoid "ferror | fclose" trick 8 years ago
Ben Wijen 05d1ed6148 mingw: ensure temporary file handles are not inherited by child processes 8 years ago
Michael Haggerty 99397152a3 register_tempfile(): new function to handle an existing temporary file 10 years ago
Michael Haggerty 354ab11206 tempfile: add several functions for creating temporary files 10 years ago
Michael Haggerty 7eba6ce5c7 prepare_tempfile_object(): new function, extracted from create_tempfile() 10 years ago
Michael Haggerty 1a9d15db25 tempfile: a new module for handling temporary files 10 years ago