[Patch] Adding ".." may not work in readdir()

Christian Franke Christian.Franke@t-online.de
Mon May 8 14:43:00 GMT 2006


Both else-if conditions at the end of readdir() are identical, so ".." 
case will never be executed.

The attached patch for fhandler_disk_file.cc 1.183 may fix this
(untested blind patch, sorry ;-)

Christian

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fhandler_disk_file.cc-1.183-patch.txt
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20060508/8e842549/attachment.txt>


More information about the Cygwin-patches mailing list