<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/compat/pread.c, branch v2.4.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.4.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.4.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2007-01-10T00:40:40Z</updated>
<entry>
<title>Replacing the system call pread() with lseek()/xread()/lseek() sequence.</title>
<updated>2007-01-10T00:40:40Z</updated>
<author>
<name>Stefan-W. Hahn</name>
<email>stefan.hahn@s-hahn.de</email>
</author>
<published>2007-01-09T21:04:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6900679c2f6d937a5a6ef616869c8887690ad19d'/>
<id>urn:sha1:6900679c2f6d937a5a6ef616869c8887690ad19d</id>
<content type='text'>
Using cygwin with cygwin.dll before 1.5.22 the system call pread() is buggy.
This patch introduces NO_PREAD. If NO_PREAD is set git uses a sequence of
lseek()/xread()/lseek() to emulate pread.

Signed-off-by: Stefan-W. Hahn &lt;stefan.hahn@s-hahn.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
