<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/compat, branch v2.3.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.3.0</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.3.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-12-22T20:27:16Z</updated>
<entry>
<title>Merge branch 'dm/compat-s-ifmt-for-zos'</title>
<updated>2014-12-22T20:27:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-12-22T20:27:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2f17ecbd8d58c79e76767da82cf824840dfd367f'/>
<id>urn:sha1:2f17ecbd8d58c79e76767da82cf824840dfd367f</id>
<content type='text'>
Long overdue departure from the assumption that S_IFMT is shared by
everybody made in 2005.

* dm/compat-s-ifmt-for-zos:
  compat: convert modes to use portable file type values
</content>
</entry>
<entry>
<title>Merge branch 'js/windows-open-eisdir-error'</title>
<updated>2014-12-05T19:42:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-12-05T19:42:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2528ff079c9dd8a47483d841f53cd93ec1044a72'/>
<id>urn:sha1:2528ff079c9dd8a47483d841f53cd93ec1044a72</id>
<content type='text'>
* js/windows-open-eisdir-error:
  Windows: correct detection of EISDIR in mingw_open()
</content>
</entry>
<entry>
<title>compat: convert modes to use portable file type values</title>
<updated>2014-12-04T19:58:36Z</updated>
<author>
<name>David Michael</name>
<email>fedora.dm0@gmail.com</email>
</author>
<published>2014-12-04T02:24:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d543d9c0f44a89f30ec1670f16c698b5da801476'/>
<id>urn:sha1:d543d9c0f44a89f30ec1670f16c698b5da801476</id>
<content type='text'>
This adds simple wrapper functions around calls to stat(), fstat(),
and lstat() that translate the operating system's native file type
bits to those used by most operating systems.  It also rewrites the
S_IF* macros to the common values, so all file type processing is
performed using the translated modes.  This makes projects portable
across operating systems that use different file type definitions.

Only the file type bits may be affected by these compatibility
functions; the file permission bits are assumed to be 07777 and are
passed through unchanged.

Signed-off-by: David Michael &lt;fedora.dm0@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Windows: correct detection of EISDIR in mingw_open()</title>
<updated>2014-11-17T16:45:50Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2014-11-16T21:06:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ba6fad02b6cbbfbf5acf3303b4d8ddfd8624fdb2'/>
<id>urn:sha1:ba6fad02b6cbbfbf5acf3303b4d8ddfd8624fdb2</id>
<content type='text'>
According to the Linux open(2) man page, open() must return EISDIR
if a directory was attempted to be opened for writing. Our emulation
in mingw_open() does not get this right: it checks only for O_CREAT.

Fix it to check for a write request.

This fixes a failure in reflog handling, which opens files with
O_APPEND|O_WRONLY, but without O_CREAT, and expects EISDIR when the
named file happens to be a directory.

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'dm/port2zos'</title>
<updated>2014-10-29T17:08:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-29T17:08:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ce71c1f3398a956b0152f8ebf11b7a9d50a3095e'/>
<id>urn:sha1:ce71c1f3398a956b0152f8ebf11b7a9d50a3095e</id>
<content type='text'>
z/OS port

* dm/port2zos:
  compat/bswap.h: detect endianness from XL C compiler macros
  Makefile: reorder linker flags in the git executable rule
  git-compat-util.h: support variadic macros with the XL C compiler
</content>
</entry>
<entry>
<title>compat/bswap.h: detect endianness from XL C compiler macros</title>
<updated>2014-10-27T18:51:12Z</updated>
<author>
<name>David Michael</name>
<email>fedora.dm0@gmail.com</email>
</author>
<published>2014-10-26T17:34:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bfb0e6fcd2826a869383b766712131a07a8059b0'/>
<id>urn:sha1:bfb0e6fcd2826a869383b766712131a07a8059b0</id>
<content type='text'>
There is no /usr/include/endian.h equivalent on z/OS, but the
compiler will define macros to indicate endianness on host and
target hardware.  This adds a test for these macros as a last
resort for determining byte order.

Signed-off-by: David Michael &lt;fedora.dm0@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mingw.h: add dummy functions for sigset_t operations</title>
<updated>2014-09-22T20:41:52Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2014-09-22T18:24:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4e6d207c45e6f5c13b38c4a200f0d3339f88ad34'/>
<id>urn:sha1:4e6d207c45e6f5c13b38c4a200f0d3339f88ad34</id>
<content type='text'>
Windows does not have POSIX-like signals, and so we ignore all
operations on the non-existent signal mask machinery.

Do not turn sigemptyset into a function, but leave it a macro that
erases the code in the argument because it is used to set sa_mask
of a struct sigaction, but our dummy in mingw.h does not have that
member.

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sk/mingw-uni-fix-more'</title>
<updated>2014-07-30T21:21:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-07-30T21:21:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=385e171a5b56dabbe33dbef6f88e8f934a6cacda'/>
<id>urn:sha1:385e171a5b56dabbe33dbef6f88e8f934a6cacda</id>
<content type='text'>
Most of these are battle-tested in msysgit and are needed to
complete what has been merged to 'master' already.

* sk/mingw-uni-fix-more:
  Win32: enable color output in Windows cmd.exe
  Win32: patch Windows environment on startup
  Win32: keep the environment sorted
  Win32: use low-level memory allocation during initialization
  Win32: reduce environment array reallocations
  Win32: don't copy the environment twice when spawning child processes
  Win32: factor out environment block creation
  Win32: unify environment function names
  Win32: unify environment case-sensitivity
  Win32: fix environment memory leaks
  Win32: Unicode environment (incoming)
  Win32: Unicode environment (outgoing)
  Revert "Windows: teach getenv to do a case-sensitive search"
  tests: do not pass iso8859-1 encoded parameter
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2014-07-21T19:35:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-07-21T19:35:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ab08822556c49a7856dadd0e9a42f9ec2aaf850'/>
<id>urn:sha1:9ab08822556c49a7856dadd0e9a42f9ec2aaf850</id>
<content type='text'>
* maint:
  use xmemdupz() to allocate copies of strings given by start and length
  use xcalloc() to allocate zero-initialized memory
</content>
</entry>
<entry>
<title>Merge branch 'sk/mingw-uni-fix'</title>
<updated>2014-07-21T18:18:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-07-21T18:18:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=80e85754e08da9999f7b7ab956465150aebcf44d'/>
<id>urn:sha1:80e85754e08da9999f7b7ab956465150aebcf44d</id>
<content type='text'>
* sk/mingw-uni-fix:
  Win32: Unicode file name support (dirent)
  Win32: Unicode file name support (except dirent)
</content>
</entry>
</feed>
