aboutsummaryrefslogtreecommitdiffstats
path: root/wrapper.c
AgeCommit message (Expand)AuthorFilesLines
2016-02-26Merge branch 'jk/tighten-alloc'Junio C Hamano1-0/+3
2016-02-22harden REALLOC_ARRAY and xcalloc against size_t overflowJeff King1-0/+3
2016-02-05Merge branch 'js/fopen-harder' into maintJunio C Hamano1-0/+13
2016-01-20Merge branch 'js/fopen-harder'Junio C Hamano1-0/+13
2016-01-12Merge branch 'sb/submodule-parallel-fetch'Junio C Hamano1-2/+18
2016-01-07commit: allow editing the commit message even in shared reposJohannes Schindelin1-0/+13
2015-12-21Merge branch 'jk/ident-loosen-getpwuid'Junio C Hamano1-12/+0
2015-12-16xread: poll on non blocking fdsStefan Beller1-2/+18
2015-12-10ident: make xgetpwuid_self() a static local helperJeff King1-12/+0
2015-09-25add xsnprintf helper functionJeff King1-0/+16
2015-08-25write_file_v(): do not leave incomplete line at the endJunio C Hamano1-0/+1
2015-08-24write_file(): drop "fatal" parameterJunio C Hamano1-4/+24
2015-08-04wrapper: implement xfopen()Paul Tan1-0/+21
2015-08-04wrapper: implement xopen()Paul Tan1-0/+35
2015-06-05help.c: wrap wait-only poll() invocation in sleep_millisec()Johannes Sixt1-0/+5
2015-05-11Merge branch 'nd/multiple-work-trees'Junio C Hamano1-0/+31
2015-02-25Merge branch 'jc/max-io-size-and-ssize-max'Junio C Hamano1-1/+15
2015-02-12xread/xwrite: clip MAX_IO_SIZE to SSIZE_MAXJunio C Hamano1-1/+15
2014-12-01wrapper.c: wrapper to open a file, fprintf then closeNguyễn Thái Ngọc Duy1-0/+31
2014-10-15wrapper.c: add a new function unlink_or_msgRonnie Sahlberg1-0/+14
2014-10-15wrapper.c: remove/unlink_or_warn: simplify, treat ENOENT as successRonnie Sahlberg1-8/+6
2014-10-08Merge branch 'sp/stream-clean-filter'Junio C Hamano1-9/+10
2014-09-11Merge branch 'nd/large-blobs'Junio C Hamano1-16/+52
2014-08-28memory_limit: use git_env_ulong() to parse GIT_ALLOC_LIMITSteffen Prohaska1-7/+8
2014-08-26wrapper: add xgetcwd()René Scharfe1-0/+8
2014-08-18wrapper.c: introduce gentle xmallocz that does not die()Nguyễn Thái Ngọc Duy1-16/+52
2014-04-10read-cache.c: verify index file before we opportunistically update itYiannis Marangos1-0/+20
2014-04-10wrapper.c: add xpread() similar to xread()Yiannis Marangos1-0/+18
2013-11-12typofixes: fix misspelt commentsMasanari Iida1-1/+1
2013-10-14wrapper.c: only define gitmkstemps if neededRamsay Jones1-0/+2
2013-08-20xread, xwrite: limit size of IO to 8MBSteffen Prohaska1-0/+12
2013-07-22Merge branch 'tr/fd-gotcha-fixes'Junio C Hamano1-1/+1
2013-07-12git_mkstemps: correctly test return value of open()Dale R. Worley1-1/+1
2013-04-15config: allow inaccessible configuration under $HOMEJonathan Nieder1-4/+10
2013-01-11Merge branch 'jn/warn-on-inaccessible-loosen' into maintJunio C Hamano1-1/+9
2013-01-06Merge branch 'jn/warn-on-inaccessible-loosen'Junio C Hamano1-1/+9
2012-12-18xmkstemp(): avoid showing truncated template more carefullyJunio C Hamano1-1/+1
2012-10-13config: treat user and xdg config permission problems as errorsJonathan Nieder1-0/+8
2012-10-13config, gitignore: failure to access with ENOTDIR is okJonathan Nieder1-1/+1
2012-08-21warn_on_inaccessible(): a helper to warn on inaccessible pathsJunio C Hamano1-1/+6
2012-08-21config: warn on inaccessible filesJeff King1-0/+8
2012-05-22ident: report passwd errors with a more friendly messageJeff King1-0/+12
2012-03-07Add more large blob test casesNguyễn Thái Ngọc Duy1-3/+24
2011-05-26read_in_full: always report errorsJeff King1-2/+4
2011-03-17Name make_*_path functions more accuratelyCarlos Martín Nieto1-2/+2
2011-02-10Merge branch 'maint'Junio C Hamano1-1/+1
2011-02-10compat: helper for detecting unsigned overflowJonathan Nieder1-1/+1
2010-12-21Improve error messages when temporary file creation failsArnout Engelen1-4/+28
2010-12-21set_try_to_free_routine(NULL) means "do nothing special"Junio C Hamano1-0/+2
2010-11-10Remove pack file handling dependency from wrapper.oJonathan Nieder1-3/+2
2010-11-10wrapper: give zlib wrappers their own translation unitJonathan Nieder1-60/+0
2010-11-10path helpers: move git_mkstemp* to wrapper.cJonathan Nieder1-0/+113
2010-11-10wrapper: move odb_* to environment.cJonathan Nieder1-37/+0
2010-11-10wrapper: move xmmap() to sha1_file.cJonathan Nieder1-15/+0
2010-08-20xmalloc: include size in the failure messageMatthieu Moy1-1/+2
2010-06-13Merge branch 'js/try-to-free-stackable'Junio C Hamano1-2/+4
2010-05-21Merge branch 'np/malloc-threading'Junio C Hamano1-4/+16
2010-05-08Have set_try_to_free_routine return the previous routineJohannes Sixt1-2/+4
2010-03-28Introduce remove_or_warn functionPeter Collingbourne1-0/+5
2010-03-28Implement the rmdir_or_warn functionPeter Collingbourne1-0/+5
2010-03-28Generalise the unlink_or_warn functionPeter Collingbourne1-5/+7
2010-03-24Make xmalloc and xrealloc thread-safeNicolas Pitre1-4/+16
2010-02-22Use git_mkstemp_mode and xmkstemp_mode in odb_mkstemp, not chmod later.Matthieu Moy1-3/+7
2010-02-22git_mkstemp_mode, xmkstemp_mode: variants of gitmkstemps with mode argument.Matthieu Moy1-0/+10
2010-01-26Add xmallocz()Ilari Liusvaara1-4/+11
2009-06-27Convert existing die(..., strerror(errno)) to die_errno()Thomas Rast1-4/+4
2009-04-29Introduce an unlink(2) wrapper which gives warning if unlink failedAlex Riesen1-0/+16
2009-02-28Merge branch 'jc/maint-1.6.0-pack-directory'Junio C Hamano1-1/+2
2009-02-26Fix odb_mkstemp() on AIXMike Ralphson1-1/+2
2009-02-25Merge branch 'jc/maint-1.6.0-pack-directory'Junio C Hamano1-0/+32
2009-02-25Make sure objects/pack exists before creating a new packJunio C Hamano1-0/+32
2009-01-11Wrap inflate and other zlib routines for better error reportingLinus Torvalds1-0/+60
2008-07-20Move read_in_full() and write_in_full() to wrapper.cJunio C Hamano1-0/+38
2008-06-22Shrink the git binary a bit by avoiding unnecessary inline functionsLinus Torvalds1-0/+160