101 Commits (6afedba8c97b5a8463e45ff801218433f8392d5d)

Author SHA1 Message Date
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 7 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 9 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 11 years ago
Steffen Prohaska 0b6806b9e4 xread, xwrite: limit size of IO to 8MB 12 years ago
Dale R. Worley a2cb86c152 git_mkstemps: correctly test return value of open() 12 years ago
Jonathan Nieder 4698c8feb1 config: allow inaccessible configuration under $HOME 12 years ago
Junio C Hamano f7be59b477 xmkstemp(): avoid showing truncated template more carefully 12 years ago
Jonathan Nieder 96b9e0e313 config: treat user and xdg config permission problems as errors 12 years ago
Jonathan Nieder e5c52c9898 config, gitignore: failure to access with ENOTDIR is ok 12 years ago
Junio C Hamano 55b38a48e2 warn_on_inaccessible(): a helper to warn on inaccessible paths 13 years ago
Jeff King ba8bd8300a config: warn on inaccessible files 13 years ago
Jeff King 2f70587502 ident: report passwd errors with a more friendly message 13 years ago