aboutsummaryrefslogtreecommitdiffstats
path: root/compat/mingw.h
AgeCommit message (Expand)AuthorFilesLines
2024-04-03Win32: detect unix socket support at runtimeMatthias Aßhauer1-0/+6
2023-08-09Merge branch 'ma/locate-in-path-for-windows'Junio C Hamano1-0/+3
2023-08-03compat/mingw: implement a native locate_in_PATH()Matthias Aßhauer1-0/+3
2023-06-28config: add ctx arg to config_fn_tGlen Choo1-1/+3
2022-08-08setup: prepare for more detailed "dubious ownership" messagesJohannes Schindelin1-1/+1
2022-06-03Merge branch 'ns/batch-fsync'Junio C Hamano1-0/+3
2022-04-11Merge tag 'v2.35.2'Junio C Hamano1-0/+7
2022-04-06core.fsync: use batch mode and sync loose objects by default on WindowsNeeraj Singh1-0/+3
2022-03-24Sync with 2.30.3Johannes Schindelin1-0/+7
2022-03-21Add a function to determine whether a path is owned by the current userJohannes Schindelin1-0/+7
2022-03-10core.fsyncmethod: add writeout-only modeNeeraj Singh1-0/+3
2021-02-26Makefile: add OPEN_RETURNS_EINTR knobJeff King1-0/+1
2020-10-07compat/mingw.h: drop extern from function declarationDenton Liu1-1/+1
2020-02-17Merge branch 'js/mingw-open-in-gdb'Junio C Hamano1-0/+10
2020-02-14mingw: add a helper function to attach GDB to the current processJohannes Schindelin1-0/+10
2020-01-02Merge branch 'js/mingw-reserved-filenames'Junio C Hamano1-2/+9
2019-12-21mingw: refuse paths containing reserved namesJohannes Schindelin1-2/+9
2019-12-09Sync with Git 2.24.1Junio C Hamano1-0/+14
2019-12-06Sync with 2.23.1Johannes Schindelin1-0/+14
2019-12-06Sync with 2.22.2Johannes Schindelin1-0/+14
2019-12-06Sync with 2.21.1Johannes Schindelin1-0/+14
2019-12-06Sync with 2.20.2Johannes Schindelin1-0/+14
2019-12-06Sync with 2.19.3Johannes Schindelin1-2/+16
2019-12-06Sync with 2.16.6Johannes Schindelin1-2/+16
2019-12-05mingw: handle `subst`-ed "DOS drives"Johannes Schindelin1-2/+2
2019-12-05mingw: refuse to access paths with illegal charactersJohannes Schindelin1-2/+5
2019-12-05mingw: refuse to access paths with trailing spaces or periodsJohannes Schindelin1-0/+11
2019-11-10Fix spelling errors in code commentsElijah Newren1-1/+1
2019-09-05compat/*.[ch]: remove extern from function declarations using spatchDenton Liu1-3/+3
2019-06-20msvc: do not re-declare the timespec structJeff Hostetler1-0/+2
2019-06-20mingw: replace mingw_startup() hackJohannes Schindelin1-11/+11
2019-05-07mingw: remove obsolete IPv6-related codeTanushree Tumane1-8/+0
2019-02-22trace2: create new combined trace facilityJeff Hostetler1-2/+1
2019-02-13Merge branch 'js/mingw-host-cpu'Junio C Hamano1-19/+0
2019-02-13mingw: use a more canonical method to fix the CPU reportingJohannes Schindelin1-19/+0
2019-02-08Merge branch 'js/mingw-host-cpu'Junio C Hamano1-0/+19
2019-02-07mingw: fix CPU reporting in `git version --build-options`Johannes Schindelin1-0/+19
2019-01-14Merge branch 'tb/use-common-win32-pathfuncs-on-cygwin'Junio C Hamano1-20/+0
2018-12-26git clone <url> C:\cygwin\home\USER\repo' is working (again)Torsten Bögershausen1-20/+0
2018-11-13Merge branch 'js/mingw-utf8-env'Junio C Hamano1-4/+28
2018-11-13Merge branch 'js/mingw-perl5lib'Junio C Hamano1-0/+3
2018-11-13Merge branch 'js/mingw-isatty-and-dup2'Junio C Hamano1-0/+3
2018-11-06Merge branch 'js/mingw-ns-filetime'Junio C Hamano1-10/+26
2018-10-31mingw: fix isatty() after dup2()Johannes Schindelin1-0/+3
2018-10-31config: allow for platform-specific core.* config settingsJohannes Schindelin1-0/+3
2018-10-31mingw: reencode environment variables on the fly (UTF-16 <-> UTF-8)Johannes Schindelin1-4/+28
2018-10-24mingw: implement nanosecond-precision file timesKarsten Blees1-10/+26
2018-10-16mingw: use domain information for default emailJohannes Schindelin1-0/+2
2018-03-19mingw: abort on invalid strftime formatsJohannes Schindelin1-0/+3
2017-06-02Merge branch 'js/bs-is-a-dir-sep-on-windows'Junio C Hamano1-1/+5
2017-05-23mingw.h: permit arguments with side effects for is_dir_sepJohannes Sixt1-1/+5
2016-12-11mingw: intercept isatty() to handle /dev/null as Git expects itJohannes Schindelin1-0/+3
2016-09-08Merge branch 'bw/mingw-avoid-inheriting-fd-to-lockfile' into maintJunio C Hamano1-0/+4
2016-09-08Merge branch 'js/no-html-bypass-on-windows' into maintJunio C Hamano1-3/+0
2016-09-08Merge branch 'jk/common-main' into maintJunio C Hamano1-1/+1
2016-08-23mingw: ensure temporary file handles are not inherited by child processesBen Wijen1-0/+4
2016-08-19Revert "display HTML in default browser using Windows' shell API"Johannes Schindelin1-3/+0
2016-08-08Merge branch 'ew/daemon-socket-keepalive' into maintJunio C Hamano1-0/+3
2016-07-22Windows: add missing definition of ENOTSOCKJohannes Sixt1-0/+3
2016-07-06mingw: declare main()'s argv as constJohannes Schindelin1-1/+1
2016-06-20mingw: let the build succeed with DEVELOPER=1Johannes Schindelin1-2/+2
2016-05-26Merge branch 'js/windows-dotgit' into maintJunio C Hamano1-3/+0
2016-05-18Merge branch 'jk/push-client-deadlock-fix' into HEADJunio C Hamano1-0/+1
2016-05-11mingw: remove unnecessary definitionJohannes Schindelin1-3/+0
2016-05-02Windows: add pthread_sigmask() that does nothingJohannes Sixt1-0/+1
2016-03-30MSVC: use shipped headers instead of fallback definitionsSven Strickroth1-1/+1
2016-03-23config --show-origin: report paths with forward slashesJohannes Schindelin1-0/+6
2016-02-05Merge branch 'js/dirname-basename' into maintJunio C Hamano1-1/+4
2016-02-03Merge branch 'js/dirname-basename'Junio C Hamano1-1/+4
2016-01-25mingw: avoid linking to the C library's isalpha()Johannes Sixt1-6/+1
2016-01-15mingw: avoid redefining S_* constantsJohannes Schindelin1-0/+4
2016-01-14compat/mingw: support MSys2-based MinGW buildJohannes Schindelin1-1/+23
2016-01-12Refactor skipping DOS drive prefixesJohannes Schindelin1-1/+9
2015-12-21mingw: emulate write(2) that fails with a EPIPEJohannes Schindelin1-0/+3
2015-05-26Merge branch 'nd/untracked-cache'Junio C Hamano1-0/+9
2015-04-15compat/mingw: stubs for getpgid() and tcgetpgrp()Johannes Sixt1-2/+6
2015-03-12mingw32: add uname()Nguyễn Thái Ngọc Duy1-0/+9
2014-09-22mingw.h: add dummy functions for sigset_t operationsJohannes Sixt1-1/+6
2014-07-30Merge branch 'sk/mingw-uni-fix-more'Junio C Hamano1-6/+5
2014-07-21Merge branch 'sk/mingw-uni-fix'Junio C Hamano1-4/+14
2014-07-21Win32: don't copy the environment twice when spawning child processesKarsten Blees1-6/+2
2014-07-21Win32: fix environment memory leaksKarsten Blees1-0/+1
2014-07-21Win32: Unicode environment (incoming)Karsten Blees1-0/+2
2014-07-16MinGW: fix compile error due to missing ELOOPKarsten Blees1-0/+3
2014-07-15Win32: Unicode file name support (except dirent)Karsten Blees1-4/+14
2014-06-10Win32: fix broken pipe detectionKarsten Blees1-2/+0
2014-06-10Win32: Thread-safe windows console outputKarsten Blees1-8/+4
2014-06-10Win32: add Unicode conversion functionsKarsten Blees1-0/+104
2014-06-10Win32: support Unicode console outputKarsten Blees1-0/+2
2014-06-10mingw: avoid const warningStepan Kasal1-1/+1
2014-06-10Win32: move main macro to a functionKarsten Blees1-10/+4
2014-06-10Windows: allow using UNC path for git repositoryCezary Zawadka1-0/+2
2014-01-17mingw: remove mingw_writeErik Faye-Lund1-3/+0
2013-09-24Merge branch 'kb/msvc-compile'Jonathan Nieder1-4/+26
2013-09-19compat/mingw.h: define PRId64Johannes Sixt1-0/+1
2013-09-11MinGW: Fix stat definitions to work with MinGW runtime version 4.0Sebastian Schuberth1-0/+9
2013-09-11MSVC: fix stat definition hellKarsten Blees1-4/+11
2013-09-11MSVC: fix compile errors due to macro redefinitionsKarsten Blees1-0/+6
2013-04-28sparse: Fix mingw_main() argument number/type errorsRamsay Jones1-2/+2
2013-04-28compat/mingw.c: Fix some sparse warningsRamsay Jones1-0/+7
2012-12-04mingw: get rid of getpass implementationErik Faye-Lund1-2/+0
2012-12-04mingw: make fgetc raise SIGINT if apropriateErik Faye-Lund1-0/+6
2012-10-17maybe_flush_or_die: move a too-loose Windows specific errorJohannes Sixt1-0/+3
2012-04-23Merge branch 'rj/mingw-isguid'Junio C Hamano1-3/+4
2012-04-18compat/mingw.h: Set S_ISUID to prevent a fast-import test failureRamsay Jones1-3/+4
2012-04-05compat/mingw.[ch]: Change return type of exec functions to intRamsay Jones1-2/+2
2011-12-09Merge branch 'maint-1.7.7' into maintJunio C Hamano1-1/+1
2011-12-09mingw: give waitpid the correct signatureErik Faye-Lund1-1/+1
2011-11-15Revert "upload-archive: use start_command instead of fork"Junio C Hamano1-0/+2
2011-10-30upload-archive: use start_command instead of forkErik Faye-Lund1-2/+0
2011-10-15mingw: ensure sockets are initialized before calling gethostnamePat Thoyts1-0/+3
2011-06-29Merge branch 'ef/maint-win-verify-path'Junio C Hamano1-0/+9
2011-05-27real_path: do not assume '/' is the path seperatorTheo Niessink1-0/+9
2011-05-23Merge branch 'js/mingw-shutdown'Junio C Hamano1-0/+3
2011-05-18Windows: add a wrapper for the shutdown() system callJohannes Sixt1-0/+3
2011-03-15Merge branch 'sp/maint-fd-limit'Junio C Hamano1-0/+16
2011-03-02mingw: add minimum getrlimit() compatibility stubErik Faye-Lund1-0/+16
2011-02-27Merge branch 'hv/mingw-fs-funnies'Junio C Hamano1-8/+6
2011-02-07mingw: add fallback for rmdir in case directory is in useHeiko Voigt1-0/+3
2011-02-07mingw: move unlink wrapper to mingw.cHeiko Voigt1-8/+3
2010-12-16Merge branch 'rj/msvc-fix'Junio C Hamano1-6/+0
2010-12-12Merge branch 'ef/win32-dirent'Junio C Hamano1-29/+0
2010-12-09msvc: Fix macro redefinition warningsRamsay Jones1-6/+0
2010-12-08Merge branch 'il/remote-fd-ext'Junio C Hamano1-0/+3
2010-11-23win32: use our own dirent.hErik Faye-Lund1-29/+0
2010-11-04mingw: use poll-emulation from gnulibErik Faye-Lund1-11/+0
2010-11-04mingw: add kill emulationErik Faye-Lund1-0/+3
2010-11-04mingw: support waitpid with pid > 0 and WNOHANGErik Faye-Lund1-0/+1
2010-11-04mingw: use real pidErik Faye-Lund1-7/+3
2010-11-04mingw: add network-wrappers for daemonMike Pape1-0/+16
2010-10-13Add bidirectional_transfer_loop()Ilari Liusvaara1-0/+5
2010-10-03Add MinGW-specific execv() override.Eric Sunshine1-0/+2
2010-10-03Fix Windows-specific macro redefinition warning.Eric Sunshine1-0/+6
2010-10-01MinGW: fix stat() and lstat() implementations for handling symlinksPat Thoyts1-1/+2
2010-10-01MinGW: Add missing file mode bit definesSebastian Schuberth1-1/+13
2010-10-01MinGW: Use pid_t more consequently, introduce uid_t for greater compatibilitySebastian Schuberth1-5/+6
2010-06-21Merge branch 'js/async-thread'Junio C Hamano1-1/+1
2010-05-20mingw: use _commit to implement fsyncErik Faye-Lund1-1/+1
2010-05-20Fix checkout of large files to network shares on Windows XPRené Scharfe1-0/+3
2010-04-11Merge branch 'jl/maint-submodule-gitfile-awareness'Junio C Hamano1-0/+1
2010-04-11Windows: start_command: Support non-NULL dir in struct child_processJohannes Sixt1-0/+1
2010-03-07Fix signature of fcntl() compatibility dummyJohannes Sixt1-1/+1
2010-02-25Windows: redirect f[re]open("/dev/null") to f[re]open("nul")Johannes Sixt1-0/+6
2010-01-16MSVC: Windows-native implementation for subset of Pthreads APIAndrzej K. Haczewski1-0/+5
2010-01-16MSVC: Fix an "incompatible pointer types" compiler warningRamsay Jones1-1/+3
2010-01-16Windows: avoid the "dup dance" when spawning a child processJohannes Sixt1-1/+2
2009-11-24Enable support for IPv6 on MinGWMartin Storsjö1-0/+13
2009-11-20Merge branch 'rj/cygwin-msvc'Junio C Hamano1-1/+1
2009-11-08MSVC: Add support for building with NO_MMAPRamsay Jones1-1/+1
2009-10-19mingw: wrap SSL_set_(w|r)fd to call _get_osfhandleErik Faye-Lund1-0/+21
2009-09-18Make usage of windows.h lean and meanMarius Storm-Olsen1-0/+2
2009-09-18Set _O_BINARY as default fmode for both MinGW and MSVCMarius Storm-Olsen1-0/+5
2009-09-11start_command: do not clobber cmd->env on Windows code pathJohannes Sixt1-2/+1
2009-07-05MinGW: simplify waitpid() emulation macrosJohannes Sixt1-2/+3
2009-07-05MinGW: truncate exit()'s argument to lowest 8 bitsJohannes Sixt1-0/+2
2009-06-01MinGW readdir reimplementation to support d_typeMarius Storm-Olsen1-0/+29
2009-05-23MinGW: Add a simple getpass()Johannes Schindelin1-0/+2
2009-05-23MinGW: use POSIX signature of waitpid()Johannes Schindelin1-1/+1
2009-03-18MinGW: implement mmapJanos Laube1-0/+5
2009-03-17MinGW: a hardlink implementationPetr Kodl1-2/+1
2009-03-07Brown paper bag fix for MinGW 64-bit statJohannes Schindelin1-1/+1
2009-03-05MinGW: 64-bit file offsetsJohannes Schindelin1-1/+4
2009-01-21Windows: Fix signal numbersJohannes Sixt1-6/+6
2008-08-18Revert "Windows: Use a customized struct stat that also has the st_blocks mem...Johannes Sixt1-12/+3
2008-08-18compat: introduce on_disk_bytes()Junio C Hamano1-1/+0
2008-08-03Modify mingw_main() workaround to avoid link errorsSteffen Prohaska1-2/+3
2008-07-25Windows: Make sure argv[0] has a pathJohannes Sixt1-0/+12
2008-07-19Add ANSI control code emulation for the Windows consolePeter Harris1-0/+11
2008-07-13help (Windows): Display HTML in default browser using Windows' shell APISteffen Prohaska1-0/+3
2008-06-26Windows: Fix ntohl() related warnings about printf formattingSteffen Prohaska1-0/+4
2008-06-26Windows: TMP and TEMP environment variables specify a temporary directory.Johannes Sixt1-0/+3
2008-06-26Windows: Use a customized struct stat that also has the st_blocks member.Johannes Sixt1-5/+13
2008-06-26Windows: Add a custom implementation for utime().Johannes Sixt1-0/+3
2008-06-26Windows: Add a new lstat and fstat implementation based on Win32 API.Marius Storm-Olsen1-1/+9
2008-06-26Windows: Implement a custom spawnve().Johannes Sixt1-0/+1
2008-06-26Windows: Implement wrappers for gethostbyname(), socket(), and connect().Johannes Sixt1-0/+9
2008-06-23Windows: Implement start_command().Johannes Sixt1-0/+8
2008-06-23Windows: A pipe() replacement whose ends are not inherited to children.Johannes Sixt1-4/+1
2008-06-23Windows: Wrap execve so that shell scripts can be invoked.Johannes Sixt1-0/+3
2008-06-23Windows: Implement setitimer() and sigaction().Johannes Sixt1-0/+3
2008-06-23Windows: Fix PRIuMAX definition.Johannes Sixt1-0/+1
2008-06-23Windows: Work around misbehaved rename().Johannes Sixt1-0/+3
2008-06-23Windows: always chmod(, 0666) before unlink().Johannes Schindelin1-0/+8
2008-06-23Windows: Implement a wrapper of the open() function.Johannes Sixt1-0/+3
2008-06-23Windows: Treat Windows style path names.Johannes Sixt1-0/+9
2008-06-22Windows: Use the Windows style PATH separator ';'.Johannes Sixt1-0/+6
2008-06-22Add target architecture MinGW.Johannes Sixt1-0/+134