On Jun 18 13:43, Vadim Zeitlin wrote: > Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes: > > Other than that, I fixed that in CVS. It's a Win32 path coversion problem > > which only occurs if there are multiple backslashes trailing a ".." path > > component. > > Thanks a lot for fixing this! Just out of idle curiosity, why did the > problem only manifest itself under Windows 7 and not XP? Looking at > http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?r1=1.629&r2=1.630&cvsroot=src&f=h > and surrounding code I don't see anything obviously platform-specific.
Stracing shows that XP (probably all 5.x kernels) allow to specify paths with multiple backslashes in calls to NtCreateFile, while the 6.x kernels fail with STATUS_OBJECT_NAME_INVALID. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple