<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/compat/vcbuild, branch v2.0.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.0.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.0.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-03-27T19:05:14Z</updated>
<entry>
<title>MSVC: allow linking with the cURL library</title>
<updated>2014-03-27T19:05:14Z</updated>
<author>
<name>Marat Radchenko</name>
<email>marat@slonopotamus.org</email>
</author>
<published>2014-03-27T07:34:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=da8daa367b7dfe4337252810f6be0c0c31aa93c2'/>
<id>urn:sha1:da8daa367b7dfe4337252810f6be0c0c31aa93c2</id>
<content type='text'>
Teach the clink.pl script that -lcurl is a request to link with the
cURL library, and drop NO_CURL from config.mak.uname for the MSVC
platform.

Signed-off-by: Marat Radchenko &lt;marat@slonopotamus.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>mark Windows build scripts executable</title>
<updated>2013-11-25T23:01:22Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2013-11-25T20:52:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bc380fca60080beb26f3e47ae7e5881abd5fc3f9'/>
<id>urn:sha1:bc380fca60080beb26f3e47ae7e5881abd5fc3f9</id>
<content type='text'>
On Windows the convention is to rely on filename extensions to decide
whether a file is executable so Windows users are probably not relying
on the executable bit of these scripts, but on other platforms it can
be useful documentation.

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>msvc: Fix build by adding missing symbol defines</title>
<updated>2013-02-25T20:40:03Z</updated>
<author>
<name>Ramsay Jones</name>
<email>ramsay@ramsay1.demon.co.uk</email>
</author>
<published>2013-01-31T18:31:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=93e38ed0c5a632d7b785357a309ac83e4df066fa'/>
<id>urn:sha1:93e38ed0c5a632d7b785357a309ac83e4df066fa</id>
<content type='text'>
In particular, remote-testsvn.c fails to compile with two
undeclared identifier errors relating to the 'UINT32_MAX'
and 'STDIN_FILENO' symbols.

In order to fix the compilation errors, we add appropriate
definitions for the UINT32_MAX and STDIN_FILENO constants
to an msvc compat header file.

Signed-off-by: Ramsay Jones &lt;ramsay@ramsay1.demon.co.uk&gt;
Tested-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>msvc: Fix compilation errors caused by poll.h emulation</title>
<updated>2013-02-25T20:39:56Z</updated>
<author>
<name>Ramsay Jones</name>
<email>ramsay@ramsay1.demon.co.uk</email>
</author>
<published>2013-01-31T18:28:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=41f2999180f5a58f2a4214d896359c1587c9024f'/>
<id>urn:sha1:41f2999180f5a58f2a4214d896359c1587c9024f</id>
<content type='text'>
Commit 0f77dea9 ("mingw: move poll out of sys-folder", 24-10-2011), along
with other commits in the 'ef/mingw-upload-archive' branch (see commit
7406aa20), effectively reintroduced the same problem addressed by commit
56fb3ddc ("msvc: Fix compilation errors in compat/win32/sys/poll.c",
04-12-2010).

In order to fix the compilation errors, we use the same solution adopted
in that earlier commit. In particular, we set _WIN32_WINNT to 0x0502
(which would target Windows Server 2003) prior to including the winsock2.h
header file.

Also, we delete the compat/vcbuild/include/sys/poll.h header file, since
it is now redundant and it's presence may cause some confusion.

Signed-off-by: Ramsay Jones &lt;ramsay@ramsay1.demon.co.uk&gt;
Tested-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>MSVC: Remove unneeded header stubs</title>
<updated>2011-11-01T03:06:06Z</updated>
<author>
<name>Vincent van Ravesteijn</name>
<email>vfr@lyx.org</email>
</author>
<published>2011-10-31T19:12:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=439fbb807259ad52f1af86ca5e5c98b5f189a246'/>
<id>urn:sha1:439fbb807259ad52f1af86ca5e5c98b5f189a246</id>
<content type='text'>
These headers are no longer needed since they are no longer
unnecessarily included in git-compat-util.h.

Signed-off-by: Vincent van Ravesteijn &lt;vfr@lyx.org&gt;
Acked-by: Erik Faye-Lund &lt;kusmabite@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'rj/msvc-fix'</title>
<updated>2010-12-16T20:55:36Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-12-16T20:55:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b5c6aac01baf9164e08915b348490710e83119f9'/>
<id>urn:sha1:b5c6aac01baf9164e08915b348490710e83119f9</id>
<content type='text'>
* rj/msvc-fix:
  msvc: Fix macro redefinition warnings
  msvc: Fix build by adding missing INTMAX_MAX define
  msvc: git-daemon.exe: Fix linker "unresolved externals" error
  msvc: Fix compilation errors in compat/win32/sys/poll.c
</content>
</entry>
<entry>
<title>msvc: Fix build by adding missing INTMAX_MAX define</title>
<updated>2010-12-10T00:00:30Z</updated>
<author>
<name>Ramsay Jones</name>
<email>ramsay@ramsay1.demon.co.uk</email>
</author>
<published>2010-12-04T18:57:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1a3b5a3e5cfc00ca36bdbc07b3ffebcdfc9dd989'/>
<id>urn:sha1:1a3b5a3e5cfc00ca36bdbc07b3ffebcdfc9dd989</id>
<content type='text'>
Commit c03c831 (do not depend on signed integer overflow,
05-10-2010) provokes an msvc build failure. The cause of the
failure is a missing definition of the INTMAX_MAX constant,
used in the new maximum_signed_value_of_type(a) macro, which
would normally be defined in the C99 &lt;stdint.h&gt; header file.

In order the fix the compilation error, we add an appropriate
definition of the INTMAX_MAX constant, along with INTMAX_MIN
and UINTMAX_MAX, to an msvc compat header file.

Signed-off-by: Ramsay Jones &lt;ramsay@ramsay1.demon.co.uk&gt;
Acked-by: Erik Faye-Lund &lt;kusmabite@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>win32: use our own dirent.h</title>
<updated>2010-11-24T00:06:50Z</updated>
<author>
<name>Erik Faye-Lund</name>
<email>kusmabite@gmail.com</email>
</author>
<published>2010-11-23T18:38:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d1b6e6e015501272c7491b3a4adf3cd3904edefa'/>
<id>urn:sha1:d1b6e6e015501272c7491b3a4adf3cd3904edefa</id>
<content type='text'>
The mingw-runtime implemenation of opendir, readdir and closedir
sets errno to 0 on success, something that POSIX explicitly
forbids. 3ba7a06 ("A loose object is not corrupt if it cannot be
read due to EMFILE") introduce a dependency on this behaviour,
leading to a broken "git clone" on Windows.

compat/mingw.c contains an implementation of readdir, and
compat/msvc.c contains implementations of opendir and closedir.

Move these to compat/win32/dirent.[ch], and change to our own DIR
structure at the same time.

This provides a generic Win32-implementation of opendir, readdir
and closedir which works on both MinGW and MSVC and does not reset
errno, and as a result git clone is working again on Windows.

Signed-off-by: Erik Faye-Lund &lt;kusmabite@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint-1.6.6' into maint</title>
<updated>2010-04-19T08:28:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-04-19T08:28:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8165952517bf82b6a632cefc047ad14f36a74b25'/>
<id>urn:sha1:8165952517bf82b6a632cefc047ad14f36a74b25</id>
<content type='text'>
* maint-1.6.6:
  MSVC: Fix build by adding missing termios.h dummy
</content>
</entry>
<entry>
<title>MSVC: Fix build by adding missing termios.h dummy</title>
<updated>2010-04-19T08:28:21Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2010-04-19T07:37:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b75686455c0524f167b6a878c124df40db34b325'/>
<id>urn:sha1:b75686455c0524f167b6a878c124df40db34b325</id>
<content type='text'>
A use of this header file was introduced in eb80042 (Add missing #include
to support TIOCGWINSZ on Solaris, 2010-01-11).

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
