415 Commits (845839575d37da825746816b24376c7799ef1105)

Author SHA1 Message Date
Jeff King 5c238e29a8 git-compat-util: move content inside ifdef/endif guards 9 years ago
René Scharfe 0ac52a38e8 inline xalloc_flex() into FLEXPTR_ALLOC_MEM 9 years ago
René Scharfe e9451782cf avoid pointer arithmetic involving NULL in FLEX_ALLOC_MEM 9 years ago
René Scharfe dbc540c7a5 add QSORT 9 years ago
René Scharfe 60566cbb58 add COPY_ARRAY 9 years ago
Johannes Schindelin 2f8952250a regex: add regexec_buf() that can work on a non NUL-terminated string 9 years ago
Christian Couder 725149beab usage: add get_error_routine() and get_warn_routine() 9 years ago
Christian Couder b83f108b08 usage: add set_warn_routine() 9 years ago
René Scharfe ca2baa3f75 compat: move strdup(3) replacement to its own file 9 years ago
Jeff King 4df5e91867 error_errno: use constant return similar to error() 9 years ago
Ben Wijen 05d1ed6148 mingw: ensure temporary file handles are not inherited by child processes 9 years ago
René Scharfe 0bb1519f05 correct FLEXPTR_* example in comment 9 years ago
Jeff King 3f2e2297b9 add an extra level of indirection to main() 9 years ago
Jeff King ae989a61da add skip_prefix_mem helper 9 years ago
Nguyễn Thái Ngọc Duy fd1d672300 usage.c: add warning_errno() and error_errno() 9 years ago
Kazuki Yamaguchi 1245c74936 configure: remove checking for HMAC_CTX_cleanup 9 years ago
Eric Sunshine d616fbf256 git-compat-util: st_add4: work around gcc 4.2.x compiler crash 9 years ago
Jeff King 935de81289 add helpers for detecting size_t overflow 9 years ago
Jeff King 7eb45b5f78 git-compat-util: drop mempcpy compat code 9 years ago
Jeff King 3689539127 add helpers for allocating flex-array structs 9 years ago
Jeff King e7792a74bc harden REALLOC_ARRAY and xcalloc against size_t overflow 9 years ago
Alexander Kuleshov 63ca1c099c git.c: simplify stripping extension of a file in handle_builtin() 9 years ago
Jeff King 320d0b493a add helpers for detecting size_t overflow 9 years ago
Johannes Schindelin 824682ab51 compat/basename.c: provide a dirname() compatibility function 9 years ago
Johannes Schindelin 2f36eed936 Refactor skipping DOS drive prefixes 9 years ago
Johannes Schindelin 79d7582e32 commit: allow editing the commit message even in shared repos 9 years ago
Jeff King e850194c83 ident: make xgetpwuid_self() a static local helper 9 years ago
Waldek Maleska fdcdb77855 Correct fscanf formatting string for I64u values 10 years ago
Johannes Schindelin 8f77442358 Squelch warning about an integer overflow 10 years ago
Jeff King fdf729661a probe_utf8_pathname_composition: use internal strbuf 10 years ago
Jeff King 7b03c89ebd add xsnprintf helper function 10 years ago
Matthieu Moy e6f2599cba strtoul_ui: reject negative values 10 years ago
Jeff King 3b331e9267 vreportf: report to arbitrary filehandles 10 years ago
Paul Tan 260eec2927 wrapper: implement xfopen() 10 years ago
Paul Tan 3ff53df7b4 wrapper: implement xopen() 10 years ago
Charles Bailey e2c6f7cd5a Fix definition of ARRAY_SIZE for non-gcc builds 10 years ago
Jeff King 1570856b51 config.c: avoid xmmap error messages 10 years ago
Elia Pinto 89c855ed3c git-compat-util.h: implement a different ARRAY_SIZE macro for for safely deriving the size of array 10 years ago
Jeff King f43cce23ad git-compat-util: add fallbacks for unlocked stdio 10 years ago
Nguyễn Thái Ngọc Duy 1e8fef609e untracked cache: guard and disable on system changes 10 years ago
Kyle J. McKay 9529080de2 configure: support HAVE_BSD_SYSCTL option 10 years ago
Kyle J. McKay 1b56cdf901 git-compat-util.h: move SHELL_PATH default into header 10 years ago
Ben Walton 189c860c9e kwset: use unsigned char to store values with high-bit set 10 years ago
Ramsay Jones 33baa6983d git-compat-util.h: remove redundant code 10 years ago
Kyle J. McKay 88c03eb577 git-compat-util: do not step on MAC_OS_X_VERSION_MIN_REQUIRED 10 years ago
Jeff King d64ea0f83b git-compat-util: add xstrdup_or_null helper 10 years ago
Kyle J. McKay 290c8e7a3f gettext.h: add parentheses around N_ expansion if supported 10 years ago
Reuben Hawkins 88e011814b configure.ac: check for HMAC_CTX_cleanup 10 years ago
Eric Sunshine b195aa00c1 git-compat-util: suppress unavoidable Apple-specific deprecation warnings 10 years ago
David Michael d543d9c0f4 compat: convert modes to use portable file type values 10 years ago