aboutsummaryrefslogtreecommitdiffstats
path: root/git-compat-util.h
AgeCommit message (Expand)AuthorFilesLines
2019-02-13Merge branch 'nd/fileno-may-be-macro'Junio C Hamano1-0/+8
2019-02-12git-compat-util: work around fileno(fp) that is a macroDuy Nguyen1-0/+8
2019-01-18Merge branch 'rb/hpe'Junio C Hamano1-0/+13
2019-01-14Merge branch 'nd/indentation-fix'Junio C Hamano1-1/+1
2019-01-14Merge branch 'tb/use-common-win32-pathfuncs-on-cygwin'Junio C Hamano1-1/+2
2019-01-03git-compat-util.h: add FLOSS headers for HPE NonStopRandall S. Becker1-0/+13
2018-12-26git clone <url> C:\cygwin\home\USER\repo' is working (again)Torsten Bögershausen1-1/+2
2018-12-09Indent code with TABsNguyễn Thái Ngọc Duy1-1/+1
2018-11-21Merge branch 'cc/delta-islands'Junio C Hamano1-0/+1
2018-11-21pack-objects: zero-initialize tree_depth/layer arraysJeff King1-0/+1
2018-11-14git-compat-util: prefer poll.h to sys/poll.hĐoàn Trần Công Danh1-1/+4
2018-10-31config: allow for platform-specific core.* config settingsJohannes Schindelin1-0/+8
2018-10-30Merge branch 'cb/khash-maybe-unused-function'Junio C Hamano1-0/+2
2018-10-26Merge branch 'js/mingw-default-ident'Junio C Hamano1-0/+4
2018-10-24commit-slabs: move MAYBE_UNUSED outCarlo Marcelo Arenas Belón1-0/+2
2018-10-16mingw: use domain information for default emailJohannes Schindelin1-0/+4
2018-10-04mingw: bump the minimum Windows version to VistaJohannes Schindelin1-1/+1
2018-10-04mingw: set _WIN32_WINNT explicitly for Git for WindowsJohannes Schindelin1-1/+1
2018-08-20Merge branch 'js/typofixes'Junio C Hamano1-1/+1
2018-08-08git-compat-util.h: fix typoJohannes Schindelin1-1/+1
2018-07-26automatically ban strcpy()Jeff King1-0/+6
2018-05-30Merge branch 'js/use-bug-macro'Junio C Hamano1-1/+4
2018-05-29Sync with Git 2.17.1Junio C Hamano1-0/+17
2018-05-23Merge branch 'nd/repack-keep-pack'Junio C Hamano1-0/+4
2018-05-22Sync with Git 2.16.4Junio C Hamano1-0/+17
2018-05-22Sync with Git 2.15.2Junio C Hamano1-0/+17
2018-05-22Sync with Git 2.14.4Junio C Hamano1-0/+17
2018-05-22Sync with Git 2.13.7Junio C Hamano1-0/+17
2018-05-21skip_prefix: add case-insensitive variantJeff King1-0/+17
2018-05-10BUG_exit_code: fix sparse "symbol not declared" warningRamsay Jones1-0/+3
2018-05-08Merge branch 'ls/checkout-encoding'Junio C Hamano1-0/+1
2018-05-06Convert remaining die*(BUG) messagesJohannes Schindelin1-1/+1
2018-04-16gc --auto: exclude base pack if not enough mem to "repack -ad"Nguyễn Thái Ngọc Duy1-0/+4
2018-03-09strbuf: add a case insensitive starts_with()Lars Schneider1-0/+1
2018-02-22wrapper: rename 'template' variablesBrandon Williams1-2/+2
2017-12-11git-compat-util: introduce skip_to_optional_arg()Christian Couder1-0/+23
2017-09-29Merge branch 'rj/no-sign-compare'Junio C Hamano1-2/+4
2017-09-22git-compat-util.h: xsize_t() - avoid -Wsign-compare warningsRamsay Jones1-2/+4
2017-09-20git-compat-util: make UNLEAK less error-proneJonathan Tan1-2/+2
2017-09-08add UNLEAK annotation for reducing leak false positivesJeff King1-0/+20
2017-08-23pack: move release_pack_memory()Jonathan Tan1-2/+0
2017-08-23Merge branch 'rs/move-array' into maintJunio C Hamano1-0/+8
2017-08-11Merge branch 'rs/move-array'Junio C Hamano1-0/+8
2017-07-18Merge branch 'tb/push-to-cygwin-unc-path'Junio C Hamano1-0/+3
2017-07-17add MOVE_ARRAYRené Scharfe1-0/+8
2017-07-05cygwin: allow pushing to UNC pathsTorsten Bögershausen1-0/+3
2017-06-15git-compat-util: add a FREE_AND_NULL() wrapper around free(ptr); ptr = NULLÆvar Arnfjörð Bjarmason1-0/+6
2017-06-13Merge branch 'nd/fopen-errors'Junio C Hamano1-6/+9
2017-06-13Merge branch 'jc/noent-notdir'Junio C Hamano1-0/+15
2017-06-13Merge branch 'bw/forking-and-threading' into maintJunio C Hamano1-1/+0
2017-05-30Merge branch 'bw/forking-and-threading'Junio C Hamano1-1/+0
2017-05-30compat-util: is_missing_file_error()Junio C Hamano1-0/+15
2017-05-29Merge branch 'jk/bug-to-abort'Junio C Hamano1-0/+9
2017-05-26wrapper.c: make warn_on_inaccessible() staticNguyễn Thái Ngọc Duy1-2/+0
2017-05-26wrapper.c: add and use fopen_or_warn()Nguyễn Thái Ngọc Duy1-0/+1
2017-05-26wrapper.c: add and use warn_on_fopen_errors()Nguyễn Thái Ngọc Duy1-0/+2
2017-05-26git_fopen: fix a sparse 'not declared' warningRamsay Jones1-4/+6
2017-05-16Merge branch 'js/larger-timestamps'Junio C Hamano1-0/+5
2017-05-16Merge branch 'dt/raise-core-packed-git-limit'Junio C Hamano1-1/+1
2017-05-15usage.c: drop set_error_handle()Jeff King1-1/+0
2017-05-15usage.c: add BUG() functionJeff King1-0/+9
2017-04-27use uintmax_t for timestampsJohannes Schindelin1-4/+4
2017-04-27timestamp_t: a new data type for timestampsJohannes Schindelin1-0/+2
2017-04-23Merge branch 'dt/xgethostname-nul-termination'Junio C Hamano1-0/+6
2017-04-23PRItime: introduce a new "printf format" for timestampsJohannes Schindelin1-0/+1
2017-04-23parse_timestamp(): specify explicitly where we parse timestampsJohannes Schindelin1-0/+2
2017-04-20Increase core.packedGitLimitDavid Turner1-1/+1
2017-04-18xgethostname: handle long hostnamesDavid Turner1-0/+2
2017-04-18use HOST_NAME_MAX to size buffers for gethostname(2)René Scharfe1-0/+4
2017-03-28Merge branch 'jk/pack-name-cleanups' into maintJunio C Hamano1-2/+0
2017-03-21Merge branch 'jk/pack-name-cleanups'Junio C Hamano1-2/+0
2017-03-16move odb_* declarations out of git-compat-util.hJeff King1-2/+0
2017-02-28wrapper.c: remove unused gitmkstemps() functionRamsay Jones1-5/+0
2017-02-15Merge branch 'rs/swap'Junio C Hamano1-0/+10
2017-01-30add SWAP macroRené Scharfe1-0/+10
2017-01-23add QSORT_SRené Scharfe1-0/+5
2017-01-23compat: add qsort_s()René Scharfe1-0/+6
2016-12-05Merge branch 'jk/common-main' into maint-2.10Junio C Hamano1-2/+2
2016-10-31Merge branch 'jk/common-main'Junio C Hamano1-2/+2
2016-10-28Merge branch 'jk/tighten-alloc' into maintJunio C Hamano1-11/+6
2016-10-27git-compat-util: move content inside ifdef/endif guardsJeff King1-2/+2
2016-10-26Merge branch 'jk/tighten-alloc'Junio C Hamano1-11/+6
2016-10-17inline xalloc_flex() into FLEXPTR_ALLOC_MEMRené Scharfe1-9/+3
2016-10-17avoid pointer arithmetic involving NULL in FLEX_ALLOC_MEMRené Scharfe1-2/+3
2016-10-11Merge branch 'rs/copy-array' into maintJunio C Hamano1-0/+8
2016-10-10Merge branch 'rs/qsort'Junio C Hamano1-0/+8
2016-10-03Merge branch 'rs/copy-array'Junio C Hamano1-0/+8
2016-09-29Merge branch 'js/regexec-buf' into maintJunio C Hamano1-0/+13
2016-09-29add QSORTRené Scharfe1-0/+8
2016-09-26Merge branch 'js/regexec-buf'Junio C Hamano1-0/+13
2016-09-25add COPY_ARRAYRené Scharfe1-0/+8
2016-09-21regex: add regexec_buf() that can work on a non NUL-terminated stringJohannes Schindelin1-0/+13
2016-09-19Merge branch 'rs/compat-strdup' into maintJunio C Hamano1-0/+8
2016-09-19Merge branch 'jk/squelch-false-warning-from-gcc-o3' into maintJunio C Hamano1-0/+1
2016-09-19Merge branch 'cc/apply-am'Junio C Hamano1-0/+3
2016-09-12Merge branch 'rs/compat-strdup'Junio C Hamano1-0/+8
2016-09-12Merge branch 'jk/squelch-false-warning-from-gcc-o3'Junio C Hamano1-0/+1
2016-09-07usage: add get_error_routine() and get_warn_routine()Christian Couder1-0/+2
2016-09-07usage: add set_warn_routine()Christian Couder1-0/+1
2016-09-07compat: move strdup(3) replacement to its own fileRené Scharfe1-0/+8
2016-08-31error_errno: use constant return similar to error()Jeff King1-0/+1
2016-08-25Merge branch 'bw/mingw-avoid-inheriting-fd-to-lockfile'Junio C Hamano1-0/+4
2016-08-23mingw: ensure temporary file handles are not inherited by child processesBen Wijen1-0/+4
2016-08-17Merge branch 'jk/tighten-alloc'Junio C Hamano1-1/+1
2016-08-13correct FLEXPTR_* example in commentRené Scharfe1-1/+1
2016-07-19Merge branch 'jk/common-main'Junio C Hamano1-0/+2
2016-07-11Merge branch 'jk/ansi-color'Junio C Hamano1-0/+17
2016-07-06Merge branch 'jk/common-main-2.8' into jk/common-mainJunio C Hamano1-0/+2
2016-07-01add an extra level of indirection to main()Jeff King1-0/+2
2016-06-23add skip_prefix_mem helperJeff King1-0/+17
2016-05-17Merge branch 'nd/error-errno'Junio C Hamano1-0/+2
2016-05-09usage.c: add warning_errno() and error_errno()Nguyễn Thái Ngọc Duy1-0/+2
2016-05-06Merge branch 'ky/imap-send-openssl-1.1.0' into maintJunio C Hamano1-3/+0
2016-04-22Merge branch 'ky/imap-send-openssl-1.1.0'Junio C Hamano1-3/+0
2016-04-08configure: remove checking for HMAC_CTX_cleanupKazuki Yamaguchi1-3/+0
2016-03-21Merge branch 'es/st-add4-gcc-4.2-workaround' into maintJunio C Hamano1-2/+2
2016-03-21git-compat-util: st_add4: work around gcc 4.2.x compiler crashEric Sunshine1-2/+2
2016-03-17Merge branch 'maint-2.5' into maint-2.6Junio C Hamano1-0/+34
2016-03-17Merge branch 'maint-2.4' into maint-2.5Junio C Hamano1-0/+34
2016-03-16add helpers for detecting size_t overflowJeff King1-0/+34
2016-03-10Merge branch 'ak/git-strip-extension-from-dashed-command' into maintJunio C Hamano1-4/+0
2016-02-22git-compat-util: drop mempcpy compat codeJeff King1-9/+0
2016-02-22add helpers for allocating flex-array structsJeff King1-0/+62
2016-02-22harden REALLOC_ARRAY and xcalloc against size_t overflowJeff King1-1/+2
2016-02-21git.c: simplify stripping extension of a file in handle_builtin()Alexander Kuleshov1-4/+0
2016-02-19add helpers for detecting size_t overflowJeff King1-0/+34
2016-02-05Merge branch 'js/dirname-basename' into maintJunio C Hamano1-0/+10
2016-02-05Merge branch 'js/fopen-harder' into maintJunio C Hamano1-0/+1
2016-01-12compat/basename.c: provide a dirname() compatibility functionJohannes Schindelin1-0/+2
2016-01-12Refactor skipping DOS drive prefixesJohannes Schindelin1-0/+8
2016-01-07commit: allow editing the commit message even in shared reposJohannes Schindelin1-0/+1
2015-12-21Merge branch 'jk/ident-loosen-getpwuid'Junio C Hamano1-3/+0
2015-12-10ident: make xgetpwuid_self() a static local helperJeff King1-3/+0
2015-11-05Merge branch 'js/misc-fixes' into maintJunio C Hamano1-1/+5
2015-10-30Merge branch 'js/misc-fixes'Junio C Hamano1-1/+5
2015-10-26Correct fscanf formatting string for I64u valuesWaldek Maleska1-0/+4
2015-10-26Squelch warning about an integer overflowJohannes Schindelin1-1/+1
2015-10-20Merge branch 'jk/war-on-sprintf'Junio C Hamano1-1/+4
2015-10-05Merge branch 'kn/for-each-tag'Junio C Hamano1-0/+3
2015-10-05probe_utf8_pathname_composition: use internal strbufJeff King1-1/+1
2015-09-25add xsnprintf helper functionJeff King1-0/+3
2015-09-17strtoul_ui: reject negative valuesMatthieu Moy1-0/+3
2015-08-25Merge branch 'jk/long-error-messages'Junio C Hamano1-1/+1
2015-08-11vreportf: report to arbitrary filehandlesJeff King1-1/+1
2015-08-04wrapper: implement xfopen()Paul Tan1-0/+1
2015-08-04wrapper: implement xopen()Paul Tan1-0/+1
2015-06-25Merge branch 'cb/array-size' into maintJunio C Hamano1-5/+3
2015-06-25Merge branch 'cb/array-size'Junio C Hamano1-5/+3
2015-06-25Merge branch 'jk/diagnose-config-mmap-failure' into maintJunio C Hamano1-0/+1
2015-06-24Fix definition of ARRAY_SIZE for non-gcc buildsCharles Bailey1-5/+3
2015-06-16Merge branch 'ep/do-not-feed-a-pointer-to-array-size' into maintJunio C Hamano1-1/+53
2015-06-11Merge branch 'jk/diagnose-config-mmap-failure'Junio C Hamano1-0/+1
2015-05-28config.c: avoid xmmap error messagesJeff King1-0/+1
2015-05-26Merge branch 'nd/untracked-cache'Junio C Hamano1-0/+1
2015-05-11Merge branch 'ep/do-not-feed-a-pointer-to-array-size'Junio C Hamano1-1/+53
2015-05-05git-compat-util.h: implement a different ARRAY_SIZE macro for for safely deri...Elia Pinto1-1/+53
2015-04-16git-compat-util: add fallbacks for unlocked stdioJeff King1-0/+6
2015-03-20Merge branch 'km/bsd-sysctl'Junio C Hamano1-0/+3
2015-03-20Merge branch 'km/bsd-shells'Junio C Hamano1-0/+4
2015-03-12untracked cache: guard and disable on system changesNguyễn Thái Ngọc Duy1-0/+1
2015-03-10configure: support HAVE_BSD_SYSCTL optionKyle J. McKay1-0/+3
2015-03-10git-compat-util.h: move SHELL_PATH default into headerKyle J. McKay1-0/+4
2015-03-06Merge branch 'bw/kwset-use-unsigned'Junio C Hamano1-1/+1
2015-03-06Merge branch 'rj/no-xopen-source-for-cygwin' into maintJunio C Hamano1-6/+0
2015-03-05Merge branch 'es/squelch-openssl-warnings-on-macosx' into maintJunio C Hamano1-3/+6
2015-03-05Merge branch 'rj/no-xopen-source-for-cygwin'Junio C Hamano1-6/+0
2015-03-02kwset: use unsigned char to store values with high-bit setBen Walton1-1/+1
2015-02-24Merge branch 'jk/blame-commit-label' into maintJunio C Hamano1-0/+5
2015-02-22git-compat-util.h: remove redundant codeRamsay Jones1-6/+0
2015-02-22Merge branch 'es/squelch-openssl-warnings-on-macosx'Junio C Hamano1-3/+6
2015-02-11Merge branch 'km/gettext-n'Junio C Hamano1-0/+4
2015-02-11Merge branch 'jk/blame-commit-label'Junio C Hamano1-0/+5
2015-02-09git-compat-util: do not step on MAC_OS_X_VERSION_MIN_REQUIREDKyle J. McKay1-3/+6
2015-01-14Merge branch 'rh/autoconf-rhel3'Junio C Hamano1-0/+3
2015-01-13git-compat-util: add xstrdup_or_null helperJeff King1-0/+5
2015-01-12gettext.h: add parentheses around N_ expansion if supportedKyle J. McKay1-0/+4
2015-01-09configure.ac: check for HMAC_CTX_cleanupReuben Hawkins1-0/+3
2015-01-07Merge branch 'es/squelch-openssl-warnings-on-macosx'Junio C Hamano1-0/+4
2014-12-22Merge branch 'dm/compat-s-ifmt-for-zos'Junio C Hamano1-0/+34
2014-12-22Merge branch 'rj/no-xopen-source-for-cygwin'Junio C Hamano1-1/+2
2014-12-18git-compat-util: suppress unavoidable Apple-specific deprecation warningsEric Sunshine1-0/+4
2014-12-04compat: convert modes to use portable file type valuesDavid Michael1-0/+34
2014-11-24git-compat-util.h: don't define _XOPEN_SOURCE on cygwinRamsay Jones1-1/+2
2014-10-29Merge branch 'dm/port2zos'Junio C Hamano1-1/+1
2014-10-29Merge branch 'jk/prune-mtime'Junio C Hamano1-1/+1
2014-10-27git-compat-util.h: support variadic macros with the XL C compilerDavid Michael1-1/+1
2014-10-24Merge branch 'eb/no-pthreads'Junio C Hamano1-0/+5
2014-10-19Handle atexit list internaly for unthreaded buildsEtienne Buira1-0/+5
2014-10-16isxdigit: cast input to unsigned charJeff King1-1/+1
2014-10-15wrapper.c: add a new function unlink_or_msgRonnie Sahlberg1-0/+9
2014-10-15wrapper.c: remove/unlink_or_warn: simplify, treat ENOENT as successRonnie Sahlberg1-2/+5
2014-09-29Merge branch 'jt/itimer-autoconf'Junio C Hamano1-1/+1
2014-09-26Merge branch 'rs/realloc-array'Junio C Hamano1-0/+2
2014-09-19Merge branch 'ss/compat-default-source-for-newer-gnu'Junio C Hamano1-0/+1
2014-09-18add macro REALLOC_ARRAYRené Scharfe1-0/+2
2014-09-15compat-util: add _DEFAULT_SOURCE defineSergey Senozhatsky1-0/+1
2014-09-11Merge branch 'nd/large-blobs'Junio C Hamano1-0/+1
2014-09-09Merge branch 'rs/inline-compat-path-macros'Junio C Hamano1-6/+22
2014-09-02Merge branch 'rs/strbuf-getcwd'Junio C Hamano1-0/+1
2014-08-29git-compat-util.h: add missing semicolon after struct itimervalJonas 'Sortie' Termansen1-1/+1