summaryrefslogtreecommitdiffstats
path: root/wrapper.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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 messagesSimon 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 checkedJunio C Hamano2017-05-301-2/+2
* | | Merge branch 'dt/xgethostname-nul-termination'Junio C Hamano2017-04-231-0/+13
|\ \ \ | |/ / |/| |
| * | xgethostname: handle long hostnamesDavid Turner2017-04-181-0/+13
* | | wrapper.c: remove unused gitmkstemps() functionRamsay 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 xwriteEric 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()Nguyễn Thái Ngọc Duy2016-05-091-2/+2
* | | | wrapper.c: delete dead function git_mkstemps()Nguyễ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