<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/compat/fopen.c, branch v2.6.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.6.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.6.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2008-05-09T00:43:01Z</updated>
<entry>
<title>compat/fopen.c: avoid clobbering the system defined fopen macro</title>
<updated>2008-05-09T00:43:01Z</updated>
<author>
<name>Brandon Casey</name>
<email>casey@nrlssc.navy.mil</email>
</author>
<published>2008-05-07T17:34:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eb120e699f3faea2d71cd9cb79a8cf4f79ec1d45'/>
<id>urn:sha1:eb120e699f3faea2d71cd9cb79a8cf4f79ec1d45</id>
<content type='text'>
Some systems define fopen as a macro based on compiler settings.
The previous technique for reverting to the system fopen function
by merely undefining fopen is inadequate in this case. Instead,
avoid defining fopen entirely when compiling this source file.

Signed-off-by: Brandon Casey &lt;casey@nrlssc.navy.mil&gt;
Tested-by: Mike Ralphson &lt;mike@abacus.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Add compat/fopen.c which returns NULL on attempt to open directory</title>
<updated>2008-02-12T02:25:10Z</updated>
<author>
<name>Brandon Casey</name>
<email>casey@nrlssc.navy.mil</email>
</author>
<published>2008-02-09T02:32:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cba22528fa897728ebbffb95c05037ec9a20ea7c'/>
<id>urn:sha1:cba22528fa897728ebbffb95c05037ec9a20ea7c</id>
<content type='text'>
Some systems do not fail as expected when fread et al. are called on
a directory stream. Replace fopen on such systems which will fail
when the supplied path is a directory.

Signed-off-by: Brandon Casey &lt;casey@nrlssc.navy.mil&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
