summaryrefslogtreecommitdiff
path: root/wrapper.c
AgeCommit message (Expand)AuthorFilesLines
2022-01-17wrapper: use a CSPRNG to generate random file namesLibravatar brian m. carlson1-11/+4
2022-01-17wrapper: add a helper to generate numbers from a CSPRNGLibravatar brian m. carlson1-0/+66
2021-10-29wrapper: remove xunsetenv()Libravatar Carlo Marcelo Arenas Belón1-6/+0
2021-09-22wrapper.c: add x{un,}setenv(), and use xsetenv() in environment.cLibravatar Ævar Arnfjörð Bjarmason1-0/+12
2021-08-25xopen: explicitly report creation failuresLibravatar René Scharfe1-1/+3
2021-02-16add open_nofollow() helperLibravatar Jeff King1-0/+16
2020-09-02xrealloc: do not reuse pointer freed by zero-length realloc()Libravatar Jeff King1-2/+5
2020-05-27wrapper: add function to compare strings with different NUL terminationLibravatar brian m. carlson1-0/+8
2020-04-22Merge branch 'dl/wrapper-fix-indentation'Libravatar Junio C Hamano1-2/+2
2020-03-28wrapper: indent with tabsLibravatar Denton Liu1-2/+2
2019-10-09Merge branch 'ah/cleanups'Libravatar Junio C Hamano1-10/+11
2019-10-03git_mkstemps_mode(): replace magic numbers with computed valueLibravatar Jeff King1-5/+7
2019-10-02wrapper: use a loop instead of repetitive statementsLibravatar Alex Henrie1-6/+5
2019-08-13packfile: drop release_pack_memory()Libravatar Jeff King1-50/+13
2019-06-19wrapper: avoid undefined behaviour in macOSLibravatar Carlo Marcelo Arenas Belón1-1/+1
2019-01-02wrapper: move is_empty_file() and rename it as is_empty_or_missing_file()Libravatar Pranit Bauva1-0/+13
2018-05-06Replace all die("BUG: ...") calls by BUG() onesLibravatar Johannes Schindelin1-2/+2
2018-02-22wrapper: rename 'template' variablesLibravatar Brandon Williams1-20/+20
2017-11-06wrapper.c: consistently quote filenames in error messagesLibravatar Simon Ruderich1-4/+4
2017-09-14avoid "write_in_full(fd, buf, len) != len" patternLibravatar Jeff King1-1/+1
2017-06-24Merge branch 'bw/config-h'Libravatar Junio C Hamano1-0/+1
2017-06-15config: don't include config.h by defaultLibravatar Brandon Williams1-0/+1
2017-06-13Merge branch 'nd/fopen-errors'Libravatar Junio C Hamano1-5/+26
2017-06-13Merge branch 'jc/noent-notdir'Libravatar Junio C Hamano1-2/+2
2017-05-30treewide: use is_missing_file_error() where ENOENT and ENOTDIR are checkedLibravatar Junio C Hamano1-2/+2
2017-05-26wrapper.c: make warn_on_inaccessible() staticLibravatar Nguyễn Thái Ngọc Duy1-5/+5
2017-05-26wrapper.c: add and use fopen_or_warn()Libravatar Nguyễn Thái Ngọc Duy1-0/+11
2017-05-26wrapper.c: add and use warn_on_fopen_errors()Libravatar Nguyễn Thái Ngọc Duy1-0/+10
2017-04-23Merge branch 'dt/xgethostname-nul-termination'Libravatar Junio C Hamano1-0/+13
2017-04-18xgethostname: handle long hostnamesLibravatar David Turner1-0/+13
2017-02-28wrapper.c: remove unused gitmkstemps() functionLibravatar Ramsay Jones1-7/+0
2017-02-28wrapper.c: remove unused git_mkstemp() functionLibravatar Ramsay Jones1-17/+0
2016-07-19Merge branch 'jk/write-file'Libravatar Junio C Hamano1-40/+12
2016-07-19Merge branch 'sb/submodule-parallel-fetch'Libravatar Junio C Hamano1-16/+27
2016-07-11hoist out handle_nonblock function for xread and xwriteLibravatar Eric Wong1-28/+20
2016-07-08write_file: add pointer+len variantLibravatar Jeff King1-5/+11
2016-07-08write_file: use xopenLibravatar Jeff King1-3/+1
2016-07-08write_file: drop "gently" formLibravatar Jeff King1-43/+11
2016-06-27xwrite: poll on non-blocking FDsLibravatar Eric Wong1-2/+20
2016-06-27xread: retry after poll on EAGAIN/EWOULDBLOCKLibravatar Eric Wong1-0/+1
2016-05-17Merge branch 'nd/error-errno'Libravatar Junio C Hamano1-2/+2
2016-05-09wrapper.c: use warning_errno()Libravatar Nguyễn Thái Ngọc Duy1-2/+2
2016-04-22wrapper.c: delete dead function git_mkstemps()Libravatar Nguyễn Thái Ngọc Duy1-17/+0
2016-02-26Merge branch 'jk/tighten-alloc'Libravatar Junio C Hamano1-0/+3
2016-02-22harden REALLOC_ARRAY and xcalloc against size_t overflowLibravatar Jeff King1-0/+3
2016-02-05Merge branch 'js/fopen-harder' into maintLibravatar Junio C Hamano1-0/+13
2016-01-20Merge branch 'js/fopen-harder'Libravatar Junio C Hamano1-0/+13
2016-01-12Merge branch 'sb/submodule-parallel-fetch'Libravatar Junio C Hamano1-2/+18
2016-01-07commit: allow editing the commit message even in shared reposLibravatar Johannes Schindelin1-0/+13
2015-12-21Merge branch 'jk/ident-loosen-getpwuid'Libravatar Junio C Hamano1-12/+0