From: Stefan-W. Hahn Date: Tue, 20 Nov 2007 18:12:02 GMT Subject: Re: [PATCH] autoconf: Add tests for memmem, strtoumax and mkdtemp functions Message-ID: <20071120181202.GA12389@scotty.home> In-Reply-To: <7vd4u5l29v.fsf@gitster.siamese.dyndns.org> Also sprach Junio C Hamano am Tue, 20 Nov 2007 at 01:00:44 -0800: > Jakub Narebski writes: > > > By the way, do you have idea how to test for the following > > in configure.ac: > > > > * Define NO_PREAD if you have a problem with pread() system call (e.g. > > cygwin.dll before v1.5.22). > > > > - what is the problem? how to detect it? > > 6900679c2f6d937a5a6ef616869c8887690ad19d (Replacing the system > call pread() with lseek()/xread()/lseek() sequence.) > For me it happened when using git (e.g. git commit). Detecting perhaps is possible with "cygcheck" command which shows the version of cygwin system dlls. Perhaps: cygcheck -p 'cygwin1.dll' Shows name and version of found cygwin1.dll. Stefan -- Stefan-W. Hahn It is easy to make things. / mailto:stefan.hahn@s-hahn.de / It is hard to make things simple.