summaryrefslogtreecommitdiff
path: root/wrapper.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* | | wrapper.c: delete dead function git_mkstemps()nd/remove-unusedNguyễn Thái Ngọc Duy2016-04-221-17/+0
|/ /
* | Merge branch 'jk/tighten-alloc'Junio C Hamano2016-02-261-0/+3
|\ \
| * | harden REALLOC_ARRAY and xcalloc against size_t overflowJeff King2016-02-221-0/+3
| * | Merge branch 'js/fopen-harder' into maintJunio C Hamano2016-02-051-0/+13
| |\ \
* | \ \ Merge branch 'js/fopen-harder'Junio C Hamano2016-01-201-0/+13
|\ \ \ \ | | |/ / | |/| |
| * | | commit: allow editing the commit message even in shared reposJohannes Schindelin2016-01-071-0/+13
* | | | Merge branch 'sb/submodule-parallel-fetch'Junio C Hamano2016-01-121-2/+18
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/|
| * | xread: poll on non blocking fdsStefan Beller2015-12-161-2/+18
* | | Merge branch 'jk/ident-loosen-getpwuid'Junio C Hamano2015-12-211-12/+0
|\ \ \ | |/ / |/| / | |/
| * ident: make xgetpwuid_self() a static local helperJeff King2015-12-101-12/+0
* | add xsnprintf helper functionJeff King2015-09-251-0/+16
|/
* write_file_v(): do not leave incomplete line at the endJunio C Hamano2015-08-251-0/+1
* write_file(): drop "fatal" parameterJunio C Hamano2015-08-241-4/+24
* wrapper: implement xfopen()Paul Tan2015-08-041-0/+21
* wrapper: implement xopen()Paul Tan2015-08-041-0/+35
* help.c: wrap wait-only poll() invocation in sleep_millisec()Johannes Sixt2015-06-051-0/+5
* Merge branch 'nd/multiple-work-trees'Junio C Hamano2015-05-111-0/+31
|\
| * wrapper.c: wrapper to open a file, fprintf then closeNguyễn Thái Ngọc Duy2014-12-011-0/+31