aboutsummaryrefslogtreecommitdiffstats
path: root/git-compat-util.h
AgeCommit message (Expand)AuthorFilesLines
2015-06-25Merge branch 'cb/array-size'Junio C Hamano1-5/+3
2015-06-24Fix definition of ARRAY_SIZE for non-gcc buildsCharles Bailey1-5/+3
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
2014-08-26wrapper: add xgetcwd()René Scharfe1-0/+1
2014-08-18wrapper.c: introduce gentle xmallocz that does not die()Nguyễn Thái Ngọc Duy1-0/+1
2014-08-18turn path macros into inline functionRené Scharfe1-6/+22
2014-07-28Revert "Merge branch 'dt/refs-check-refname-component-sse'"Junio C Hamano1-11/+0
2014-07-22Merge branch 'kb/perf-trace'Junio C Hamano1-0/+4
2014-07-21Merge branch 'ak/profile-feedback-build'Junio C Hamano1-0/+2
2014-07-16Merge branch 'jk/strip-suffix'Junio C Hamano1-8/+33
2014-07-13trace: add 'file:line' to all trace outputKarsten Blees1-0/+4
2014-07-09Merge branch 'jk/skip-prefix'Junio C Hamano1-4/+23
2014-07-07Don't define away __attribute__ on gccAndi Kleen1-0/+2
2014-07-02Merge branch 'dt/refs-check-refname-component-sse'Junio C Hamano1-0/+11
2014-06-30replace has_extension with ends_withJeff King1-7/+0
2014-06-30implement ends_with via strip_suffixJeff King1-1/+6
2014-06-30add strip_suffix functionJeff King1-0/+27
2014-06-25Merge branch 'ym/fix-opportunistic-index-update-race' into maintJunio C Hamano1-0/+1
2014-06-20refactor skip_prefix to return a booleanJeff King1-4/+23
2014-06-18refs.c: SSE2 optimizations for check_refname_componentDavid Turner1-0/+11
2014-06-16Merge branch 'sk/windows-unc-path'Junio C Hamano1-0/+4
2014-06-10Windows: allow using UNC path for git repositoryCezary Zawadka1-0/+4
2014-06-06Merge branch 'jk/squelch-compiler-warning-from-funny-error-macro'Junio C Hamano1-2/+6
2014-06-03Merge branch 'ym/fix-opportunistic-index-update-race'Junio C Hamano1-0/+1
2014-06-03Merge branch 'ks/tree-diff-nway'Junio C Hamano1-0/+8
2014-05-06let clang use the constant-return error() macroJeff King1-1/+1
2014-05-06inline constant return from error() functionJeff King1-1/+5
2014-04-10wrapper.c: add xpread() similar to xread()Yiannis Marangos1-0/+1
2014-04-09Merge branch 'jk/commit-dates-parsing-fix' into maintJunio C Hamano1-0/+7
2014-04-08Merge branch 'jk/commit-dates-parsing-fix'Junio C Hamano1-0/+7
2014-04-03Merge branch 'nd/gc-aggressive'Junio C Hamano1-1/+1
2014-04-01date: recognize bogus FreeBSD gmtime outputJeff King1-0/+7
2014-03-31environment.c: fix constness for odb_pack_keep()Nguyễn Thái Ngọc Duy1-1/+1
2014-03-27Portable alloca for GitKirill Smelkov1-0/+8
2014-03-21Merge branch 'dk/skip-prefix-scan-only-once'Junio C Hamano1-2/+5
2014-03-14Merge branch 'nd/no-more-fnmatch'Junio C Hamano1-12/+0
2014-03-07Merge branch 'cc/starts-n-ends-with-endgame'Junio C Hamano1-2/+0
2014-03-03skip_prefix(): scan prefix only onceDavid Kastrup1-2/+5
2014-02-27Merge branch 'bs/stdio-undef-before-redef'Junio C Hamano1-0/+6
2014-02-20stop using fnmatch (either native or compat)Nguyễn Thái Ngọc Duy1-12/+0
2014-01-31git-compat-util.h: #undef (v)snprintf before #define themBenoit Sigoure1-0/+6
2014-01-10Merge branch 'bs/mirbsd'Junio C Hamano1-1/+1
2014-01-02Add MirBSD support to the build system.Benny Siegert1-1/+1
2013-12-05strbuf: remove prefixcmp() and suffixcmp()Christian Couder1-2/+0
2013-12-05strbuf: introduce starts_with() and ends_with()Christian Couder1-0/+2
2013-09-11Windows: do not redefine _WIN32_WINNTSebastian Schuberth1-1/+1
2013-09-09Merge branch 'sp/clip-read-write-to-8mb'Junio C Hamano1-5/+0
2013-09-04Merge branch 'bc/unuse-packfile'Junio C Hamano1-1/+1
2013-09-04Merge branch 'da/darwin'Junio C Hamano1-0/+10
2013-08-20Revert "compat/clipped-write.c: large write(2) fails on Mac OS X/XNU"Steffen Prohaska1-5/+0
2013-08-05OS X: Fix redeclaration of die warningBrian Gernhardt1-10/+10
2013-08-02Merge branch 'rj/cygwin-clarify-use-of-cheating-lstat'Junio C Hamano1-3/+0
2013-08-02Don't close pack fd when free'ing pack windowsBrandon Casey1-1/+1
2013-07-30imap-send: use Apple's Security framework for base64 encodingJeremy Huddleston1-0/+11
2013-07-22Merge branch 'jk/gcc-function-attributes'Junio C Hamano1-0/+7
2013-07-19Add the LAST_ARG_MUST_BE_NULL macroRamsay Jones1-0/+7
2013-07-18cygwin: Remove the Win32 l/stat() implementationRamsay Jones1-3/+0
2013-06-11Merge branch 'rj/mingw-cygwin'Junio C Hamano1-1/+2
2013-06-06Merge branch 'rj/mingw-compat-st-mode-bits'Junio C Hamano1-1/+3
2013-06-02Merge branch 'fc/macos-x-clipped-write'Junio C Hamano1-0/+5
2013-05-29path: Fix a sparse warningRamsay Jones1-1/+3
2013-05-29Merge branch 'jn/config-ignore-inaccessible'Junio C Hamano1-2/+3
2013-05-17compate/clipped-write.c: large write(2) fails on Mac OS X/XNUFilipe Cabecinhas1-0/+5
2013-05-08mingw: rename WIN32 cpp macro to GIT_WINDOWS_NATIVEJonathan Nieder1-1/+2
2013-04-26Merge branch 'jk/a-thread-only-dies-once' into maintJunio C Hamano1-0/+1
2013-04-19Merge branch 'jk/a-thread-only-dies-once'Junio C Hamano1-0/+1
2013-04-16usage: allow pluggable die-recursion checksJeff King1-0/+1
2013-04-15config: allow inaccessible configuration under $HOMEJonathan Nieder1-2/+3
2013-03-25Make core.sharedRepository work under cygwin 1.7Torsten Bögershausen1-0/+1
2013-03-25Merge branch 'maint-1.8.1' into maintJunio C Hamano1-0/+11
2013-03-25Merge branch 'dm/ni-maxhost-may-be-missing' into maint-1.8.1Junio C Hamano1-0/+11
2013-03-19Merge branch 'rj/msvc-build'Junio C Hamano1-0/+3
2013-03-19Merge branch 'dm/ni-maxhost-may-be-missing'Junio C Hamano1-0/+11
2013-02-26Revert "compat: add strtok_r()"Erik Faye-Lund1-5/+0
2013-02-25msvc: Fix compilation errors caused by poll.h emulationRamsay Jones1-0/+3
2013-02-25git-compat-util.h: Provide missing netdb.h definitionsDavid Michael1-0/+11
2013-02-14Merge branch 'jk/error-const-return'Junio C Hamano1-5/+5
2013-02-08Use __VA_ARGS__ for all of error's argumentsMatt Kraai1-5/+5
2013-01-25Merge branch 'nd/retire-fnmatch'Junio C Hamano1-0/+13
2013-01-23Merge branch 'jk/suppress-clang-warning'Junio C Hamano1-1/+1
2013-01-16fix clang -Wunused-value warnings for error functionsMax Horn1-1/+1
2013-01-11Merge branch 'jn/warn-on-inaccessible-loosen' into maintJunio C Hamano1-1/+5
2013-01-10Merge branch 'nd/wildmatch'Junio C Hamano1-1/+11
2013-01-06Merge branch 'jn/warn-on-inaccessible-loosen'Junio C Hamano1-1/+5
2013-01-05Merge branch 'jk/error-const-return'Junio C Hamano1-0/+11
2013-01-01Makefile: add USE_WILDMATCH to use wildmatch as fnmatchNguyễn Thái Ngọc Duy1-0/+13
2012-12-19Port to QNXMatt Kraai1-1/+5
2012-12-19git-compat-util.h: do not #include <sys/param.h> by defaultJunio C Hamano1-1/+1
2012-12-15make error()'s constant return value more visibleJeff King1-0/+11
2012-12-15Generalize the inclusion of strings.hDavid Michael1-1/+1
2012-12-15Support builds when sys/param.h is missingDavid Michael1-0/+2
2012-11-20Merge branch 'js/format-2047' into maintJunio C Hamano1-0/+2
2012-11-09Merge branch 'js/format-2047'Jeff King1-0/+2
2012-10-18format-patch: make rfc2047 encoding more strictJan H. Schönherr1-0/+2
2012-10-15ctype: support iscntrl, ispunct, isxdigit and isprintNguyễn Thái Ngọc Duy1-0/+13
2012-10-15ctype: make sane_ctype[] const arrayNguyễn Thái Ngọc Duy1-1/+1
2012-10-13config: treat user and xdg config permission problems as errorsJonathan Nieder1-0/+1
2012-10-13config, gitignore: failure to access with ENOTDIR is okJonathan Nieder1-1/+4
2012-09-19Port to HP NonStopJoachim Schmitz1-1/+16
2012-09-12Merge branch 'js/compat-itimer'Junio C Hamano1-0/+11
2012-09-08Add a no-op setitimer() wrapperJoachim Schmitz1-0/+11
2012-09-07Merge branch 'jk/config-warn-on-inaccessible-paths'Junio C Hamano1-0/+6
2012-08-24compat: some mkdir() do not like a slash at the endJoachim Schmitz1-0/+5
2012-08-21warn_on_inaccessible(): a helper to warn on inaccessible pathsJunio C Hamano1-0/+3
2012-08-21config: warn on inaccessible filesJeff King1-0/+3
2012-07-08git on Mac OS and precomposed unicodeTorsten Bögershausen1-0/+9
2012-05-22ident: report passwd errors with a more friendly messageJeff King1-0/+3
2012-03-07Merge branch 'jc/pickaxe-ignore-case'Junio C Hamano1-0/+3
2012-03-04ctype.c: Fix a sparse warningRamsay Jones1-0/+3
2012-02-10ctype: implement islower/isupper macroNamhyung Kim1-0/+15
2011-12-28Merge branch 'na/strtoimax' into maintJunio C Hamano1-0/+2
2011-12-19Merge branch 'jk/credentials'Junio C Hamano1-0/+1
2011-12-11credentials: add "cache" helperJeff King1-0/+1
2011-12-05Merge branch 'vr/msvc'Junio C Hamano1-7/+6
2011-12-05Merge branch 'na/strtoimax'Junio C Hamano1-0/+2
2011-11-15git-compat-util: don't assume value for undefined variableRamkumar Ramachandra1-1/+1
2011-11-05Compatibility: declare strtoimax() under NO_STRTOUMAXJohannes Sixt1-0/+2
2011-10-31Compile fix for MSVC: Do not include sys/resources.hVincent van Ravesteijn1-7/+6
2011-08-17Merge branch 'cb/maint-exec-error-report'Junio C Hamano1-0/+2
2011-07-31error_routine: use parent's stderr if exec failsClemens Buchacher1-0/+2
2011-07-19Merge branch 'ak/gcc46-profile-feedback'Junio C Hamano1-1/+1
2011-06-29Merge branch 'ef/maint-win-verify-path'Junio C Hamano1-0/+4
2011-06-20Add option to disable NORETURNJunio C Hamano1-1/+1
2011-05-27real_path: do not assume '/' is the path seperatorTheo Niessink1-0/+4
2011-05-23Merge branch 'jc/magic-pathspec'Junio C Hamano1-0/+2
2011-04-08magic pathspec: futureproof shorthand formJunio C Hamano1-0/+2
2011-04-03Merge branch 'maint'Junio C Hamano1-0/+1
2011-04-03compat: add missing #include <sys/resource.h>Jonathan Nieder1-0/+1
2011-03-20Merge branch 'mr/hpux' into maintJunio C Hamano1-1/+4
2011-03-15Merge branch 'jk/strbuf-vaddf'Junio C Hamano1-0/+13
2011-03-15Merge branch 'mr/hpux'Junio C Hamano1-1/+4
2011-03-08compat: fall back on __va_copy if availableJonathan Nieder1-1/+10
2011-03-08git-compat-util.h: Honor HP C's noreturn attributeMichal Rokos1-1/+4
2011-02-26compat: provide a fallback va_copy definitionJeff King1-0/+4
2011-02-10compat: helper for detecting unsigned overflowJonathan Nieder1-0/+6
2010-12-03Merge branch 'jn/thinner-wrapper'Junio C Hamano1-0/+1
2010-11-29Merge branch 'md/interix'Junio C Hamano1-0/+8
2010-11-10wrapper: move odb_* to environment.cJonathan Nieder1-0/+1
2010-11-04mingw: use poll-emulation from gnulibErik Faye-Lund1-1/+1
2010-11-04compat: add inet_pton and inet_ntop prototypesMike Pape1-0/+8
2010-11-04mingw: implement syslogMike Pape1-0/+1
2010-10-28add support for the SUA layer (interix; windows)Markus Duft1-0/+8
2010-10-06do not depend on signed integer overflowErik Faye-Lund1-0/+12
2010-09-12vcs-svn: Fix some printf format compiler warningsRamsay Jones1-0/+4
2010-08-31Merge branch 'jn/svn-fe'Junio C Hamano1-0/+5
2010-08-18Merge branch 'tr/xsize-bits'Junio C Hamano1-0/+2
2010-08-14compat: add strtok_r()Jonathan Nieder1-0/+5
2010-07-28xsize_t: check whether we lose bitsThomas Rast1-0/+2
2010-06-21Merge branch 'js/async-thread'Junio C Hamano1-0/+1
2010-06-21Merge branch 'gv/portable'Junio C Hamano1-1/+4
2010-06-13Merge branch 'js/try-to-free-stackable'Junio C Hamano1-1/+2
2010-06-02Merge branch 'maint'Junio C Hamano1-1/+1