summaryrefslogtreecommitdiff
path: root/wrapper.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'jk/pipe-command-nonblock'Junio C Hamano2022-08-251-22/+0
|\
| * git-compat-util: make MAX_IO_SIZE define globally availableJeff King2022-08-171-22/+0
* | trace2: only include "fsync" events if we git_fsync()Ævar Arnfjörð Bjarmason2022-07-181-2/+8
|/
* Merge branch 'ep/maint-equals-null-cocci'Junio C Hamano2022-05-201-1/+1
|\
| * tree-wide: apply equals-null.cocciJunio C Hamano2022-05-021-1/+1
* | trace2: add stats for fsync operationsNeeraj Singh2022-03-301-0/+12
* | core.fsyncmethod: add writeout-only modeNeeraj Singh2022-03-101-0/+64
* | wrapper: make inclusion of Windows csprng header tightly scopedNeeraj Singh2022-03-101-0/+7
* | wrapper: use a CSPRNG to generate random file namesbrian m. carlson2022-01-171-11/+4
* | wrapper: add a helper to generate numbers from a CSPRNGbrian m. carlson2022-01-171-0/+66
|/
* wrapper: remove xunsetenv()Carlo Marcelo Arenas Belón2021-10-291-6/+0
* wrapper.c: add x{un,}setenv(), and use xsetenv() in environment.cÆvar Arnfjörð Bjarmason2021-09-221-0/+12
* xopen: explicitly report creation failuresRené Scharfe2021-08-251-1/+3
* add open_nofollow() helperJeff King2021-02-161-0/+16
* xrealloc: do not reuse pointer freed by zero-length realloc()Jeff King2020-09-021-2/+5
* wrapper: add function to compare strings with different NUL terminationbrian m. carlson2020-05-271-0/+8
* Merge branch 'dl/wrapper-fix-indentation'Junio C Hamano2020-04-221-2/+2
|\
| * wrapper: indent with tabsDenton Liu2020-03-281-2/+2
* | Merge branch 'ah/cleanups'Junio C Hamano2019-10-091-10/+11
|\ \
| * | git_mkstemps_mode(): replace magic numbers with computed valueJeff King2019-10-031-5/+7
| * | wrapper: use a loop instead of repetitive statementsAlex Henrie2019-10-021-6/+5
* | | packfile: drop release_pack_memory()Jeff King2019-08-131-50/+13
|/ /
* | wrapper: avoid undefined behaviour in macOSCarlo Marcelo Arenas Belón2019-06-191-1/+1
* | wrapper: move is_empty_file() and rename it as is_empty_or_missing_file()Pranit Bauva2019-01-021-0/+13
* | Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin2018-05-061-2/+2
* | wrapper: rename 'template' variablesBrandon Williams2018-02-221-20/+20
* | wrapper.c: consistently quote filenames in error messagessr/wrapper-quote-filenamesSimon Ruderich2017-11-061-4/+4
* | avoid "write_in_full(fd, buf, len) != len" patternJeff King2017-09-141-1/+1
* | Merge branch 'bw/config-h'Junio C Hamano2017-06-241-0/+1
|\ \
| * | config: don't include config.h by defaultBrandon Williams2017-06-151-0/+1
* | | Merge branch 'nd/fopen-errors'Junio C Hamano2017-06-131-5/+26
|\ \ \
| * | | wrapper.c: make warn_on_inaccessible() staticNguyễn Thái Ngọc Duy2017-05-261-5/+5
| * | | wrapper.c: add and use fopen_or_warn()Nguyễn Thái Ngọc Duy2017-05-261-0/+11
| * | | wrapper.c: add and use warn_on_fopen_errors()Nguyễn Thái Ngọc Duy2017-05-261-0/+10
| |/ /
* | | Merge branch 'jc/noent-notdir'Junio C Hamano2017-06-131-2/+2
|\ \ \ | |/ / |/| |
| * | treewide: use is_missing_file_error() where ENOENT and ENOTDIR are checkedjc/noent-notdirJunio C Hamano2017-05-301-2/+2
* | | Merge branch 'dt/xgethostname-nul-termination'Junio C Hamano2017-04-231-0/+13
|\ \ \ | |/ / |/| |
| * | xgethostname: handle long hostnamesdt/xgethostname-nul-terminationDavid Turner2017-04-181-0/+13
* | | wrapper.c: remove unused gitmkstemps() functionrj/remove-unused-mktempRamsay Jones2017-02-281-7/+0
* | | wrapper.c: remove unused git_mkstemp() functionRamsay Jones2017-02-281-17/+0
|/ /
* | Merge branch 'jk/write-file'Junio C Hamano2016-07-191-40/+12
|\ \
| * | write_file: add pointer+len variantJeff King2016-07-081-5/+11
| * | write_file: use xopenJeff King2016-07-081-3/+1
| * | write_file: drop "gently" formJeff King2016-07-081-43/+11
* | | Merge branch 'sb/submodule-parallel-fetch'Junio C Hamano2016-07-191-16/+27
|\ \ \ | |/ / |/| |
| * | hoist out handle_nonblock function for xread and xwritesb/submodule-parallel-fetchEric Wong2016-07-111-28/+20
| * | xwrite: poll on non-blocking FDsEric Wong2016-06-271-2/+20
| * | xread: retry after poll on EAGAIN/EWOULDBLOCKEric Wong2016-06-271-0/+1
* | | Merge branch 'nd/error-errno'Junio C Hamano2016-05-171-2/+2
|\ \ \
| * | | wrapper.c: use warning_errno()nd/error-errnoNguyễn Thái Ngọc Duy2016-05-091-2/+2