56 Commits (e091653951ae516a923338874bfe550894cd1bc9)

Author SHA1 Message Date
Shawn O. Pearce ca5bb5d539 Define compat version of mkdtemp for systems lacking it 17 years ago
Pierre Habouzit 68d3025a80 Add xmemdupz() that duplicates a block of memory, and NUL terminates it. 18 years ago
René Scharfe b21b9f1de3 add memmem() 18 years ago
Luiz Fernando N. Capitulino f21a47b27c Introduces xmkstemp() 18 years ago
Jim Meyering f57882505e git-log: detect dup and fdopen failure 18 years ago
Alex Riesen fa0c87c344 Add a local implementation of hstrerror for the system which do not have it 18 years ago
Andy Whitcroft cf606e3ddd git name-rev writes beyond the end of malloc() with large generations 18 years ago
Daniel Barkalow 5094102e13 Make xstrndup common 18 years ago
Shawn O. Pearce d1efefa46f Actually handle some-low memory conditions 18 years ago
Jim Meyering 61d6ed139f sscanf/strtoul: parse integers robustly 18 years ago
Jim Meyering 6aead43db3 sscanf/strtoul: parse integers robustly 18 years ago
Nicolas Pitre 8723f21626 make overflow test on delta base offset work regardless of variable size 18 years ago
Theodore Ts'o 46efd2d93c Rename warn() to warning() to fix symbol conflicts on BSD and Mac OS 18 years ago
Shawn O. Pearce dc49cd769b Cast 64 bit off_t to 32 bit size_t 18 years ago
Shawn O. Pearce c4001d92be Use off_t when we really mean a file offset. 18 years ago
Ramsay Jones 41b200179d Fix an "implicit function definition" warning. 18 years ago
Martin Waitz b97e911643 Support for large files on 32bit systems. 18 years ago
Junio C Hamano cff0302c14 Add prefixcmp() 18 years ago
Jason Riedy bc6b4f52fc Add a compat/strtoumax.c for Solaris 8. 18 years ago
Junio C Hamano 5faaf24634 Make sure packedgitwindowsize is multiple of (pagesize * 2) 18 years ago
Jason Riedy 007e2ba659 Use inttypes.h rather than stdint.h. 18 years ago
Simon 'corecode' Schubert bb79103194 Use fixed-size integers for the on-disk pack structure. 18 years ago
Shawn O. Pearce ebea9dd4f1 Use fixed-size integers when writing out the index in fast-import. 18 years ago
Jason Riedy fb9522062c Set _ALL_SOURCE for AIX, but avoid its struct list. 18 years ago
Shawn O. Pearce 0ea9f045f4 Use uintmax_t for marks in fast-import. 18 years ago
Linus Torvalds 9130ac1e19 Better error messages for corrupt databases 18 years ago
Stefan-W. Hahn 6900679c2f Replacing the system call pread() with lseek()/xread()/lseek() sequence. 18 years ago
Junio C Hamano ecaebf4af1 Spell default packedgitlimit slightly differently 18 years ago
Shawn O. Pearce 22bac0ea52 Increase packedGit{Limit,WindowSize} on 64 bit systems. 18 years ago
Shawn O. Pearce c4712e4553 Replace mmap with xmmap, better handling MAP_FAILED. 18 years ago
Shawn O. Pearce 97bfeb34df Release pack windows before reporting out of memory. 18 years ago
Shawn O. Pearce 8c82534d89 Default core.packdGitWindowSize to 1 MiB if NO_MMAP. 18 years ago
Shawn O. Pearce d6779124b9 Rename gitfakemmap to git_mmap. 18 years ago
Junio C Hamano 95ca1c6cb7 Really fix headers for __FreeBSD__ 18 years ago
Shawn O. Pearce fa39b6b5b1 Introduce a global level warn() function. 18 years ago
Junio C Hamano a01c9c28a5 _XOPEN_SOURCE problem also exists on FreeBSD 18 years ago
Terje Sten Bjerkseth c902c9a608 Fix system header problems on Mac OS X 18 years ago
Junio C Hamano 85023577a8 simplify inclusion of system header files. 18 years ago
Junio C Hamano d0c2449f78 Define fallback PATH_MAX on systems that do not define one in <limits.h> 19 years ago
Shawn Pearce 9befac470b Replace uses of strdup with xstrdup. 19 years ago
Jonas Fonseca 095c424d08 Use PATH_MAX instead of MAXPATHLEN 19 years ago
Rene Scharfe 5bb1cda5f7 drop length argument of has_extension 19 years ago
Rene Scharfe 83a2b841d6 Add has_extension() 19 years ago
Junio C Hamano aa5481c1af debugging: XMALLOC_POISON 19 years ago
Peter Eriksen 817151e61a Rename safe_strncpy() to strlcpy(). 19 years ago
Petr Baudis 39a3f5ea7c Customizable error handlers 19 years ago
Junio C Hamano b4f2a6ac92 Use #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) 19 years ago
Jason Riedy 731043fd4d Add compat/unsetenv.c . 19 years ago
Junio C Hamano 8f1d2e6f49 [PATCH] Compilation: zero-length array declaration. 19 years ago
Junio C Hamano 4e7a2eccc2 ?alloc: do not return NULL when asked for zero bytes 19 years ago