111 Commits (fbf20aeeef062e8cbd7db43788cfd3a69764071f)

Author SHA1 Message Date
Jeff King 6479ea4a8a xrealloc: do not reuse pointer freed by zero-length realloc() 5 years ago
brian m. carlson 14570dc67d wrapper: add function to compare strings with different NUL termination 5 years ago
Denton Liu 7cd54d37dc wrapper: indent with tabs 5 years ago
Jeff King 53d687bf5f git_mkstemps_mode(): replace magic numbers with computed value 5 years ago
Alex Henrie 54a80a9ad8 wrapper: use a loop instead of repetitive statements 5 years ago
Jeff King 9827d4c185 packfile: drop release_pack_memory() 6 years ago
Carlo Marcelo Arenas Belón 729a9b558b wrapper: avoid undefined behaviour in macOS 6 years ago
Pranit Bauva e3b1e3bdc0 wrapper: move is_empty_file() and rename it as is_empty_or_missing_file() 6 years ago
Johannes Schindelin 033abf97fc Replace all die("BUG: ...") calls by BUG() ones 7 years ago
Brandon Williams eb78e23f22 wrapper: rename 'template' variables 7 years ago
Simon Ruderich 0a288d1ee9 wrapper.c: consistently quote filenames in error messages 7 years ago
Jeff King 06f46f237a avoid "write_in_full(fd, buf, len) != len" pattern 8 years ago
Brandon Williams b2141fc1d2 config: don't include config.h by default 8 years ago
Junio C Hamano c7054209d6 treewide: use is_missing_file_error() where ENOENT and ENOTDIR are checked 8 years ago
Nguyễn Thái Ngọc Duy 382fb07f7b wrapper.c: make warn_on_inaccessible() static 8 years ago
Nguyễn Thái Ngọc Duy e9d983f116 wrapper.c: add and use fopen_or_warn() 8 years ago
Nguyễn Thái Ngọc Duy 11dc1fcb3f wrapper.c: add and use warn_on_fopen_errors() 8 years ago
David Turner 5781a9a270 xgethostname: handle long hostnames 8 years ago
Ramsay Jones b2d593a779 wrapper.c: remove unused gitmkstemps() function 8 years ago
Ramsay Jones 34de5e4bb0 wrapper.c: remove unused git_mkstemp() function 8 years ago
Eric Wong d751dd11ae hoist out handle_nonblock function for xread and xwrite 9 years ago
Jeff King 52563d7ecc write_file: add pointer+len variant 9 years ago
Jeff King ee861e0f78 write_file: use xopen 9 years ago
Jeff King ef22318cff write_file: drop "gently" form 9 years ago
Eric Wong ef1cf0167a xwrite: poll on non-blocking FDs 9 years ago
Eric Wong c22f620205 xread: retry after poll on EAGAIN/EWOULDBLOCK 9 years ago
Nguyễn Thái Ngọc Duy 1da045fb9d wrapper.c: use warning_errno() 9 years ago
Nguyễn Thái Ngọc Duy 659488326c wrapper.c: delete dead function git_mkstemps() 9 years ago
Jeff King e7792a74bc harden REALLOC_ARRAY and xcalloc against size_t overflow 9 years ago
Johannes Schindelin 79d7582e32 commit: allow editing the commit message even in shared repos 9 years ago
Stefan Beller 1079c4be0b xread: poll on non blocking fds 9 years ago
Jeff King e850194c83 ident: make xgetpwuid_self() a static local helper 9 years ago
Jeff King 7b03c89ebd add xsnprintf helper function 10 years ago
Junio C Hamano e7ffa38c6e write_file_v(): do not leave incomplete line at the end 10 years ago
Junio C Hamano 12d6ce1dba write_file(): drop "fatal" parameter 10 years ago
Paul Tan 260eec2927 wrapper: implement xfopen() 10 years ago
Paul Tan 3ff53df7b4 wrapper: implement xopen() 10 years ago
Johannes Sixt 2024d31765 help.c: wrap wait-only poll() invocation in sleep_millisec() 10 years ago
Junio C Hamano a983e6ac58 xread/xwrite: clip MAX_IO_SIZE to SSIZE_MAX 10 years ago
Nguyễn Thái Ngọc Duy 316e53e68c wrapper.c: wrapper to open a file, fprintf then close 10 years ago
Ronnie Sahlberg 9ccc0c0896 wrapper.c: add a new function unlink_or_msg 10 years ago
Ronnie Sahlberg 1054af7d04 wrapper.c: remove/unlink_or_warn: simplify, treat ENOENT as success 10 years ago
Steffen Prohaska 9927d9627f memory_limit: use git_env_ulong() to parse GIT_ALLOC_LIMIT 11 years ago
René Scharfe aa14e980ff wrapper: add xgetcwd() 11 years ago
Nguyễn Thái Ngọc Duy f8bb1d9431 wrapper.c: introduce gentle xmallocz that does not die() 11 years ago
Yiannis Marangos 426ddeead6 read-cache.c: verify index file before we opportunistically update it 11 years ago
Yiannis Marangos 9aa91af036 wrapper.c: add xpread() similar to xread() 11 years ago
Masanari Iida 382d20e3eb typofixes: fix misspelt comments 11 years ago
Ramsay Jones ec145c9c2e wrapper.c: only define gitmkstemps if needed 12 years ago
Steffen Prohaska 0b6806b9e4 xread, xwrite: limit size of IO to 8MB 12 years ago