(cd $P && pwd) fails for path >255 chars
Thu Oct 7 07:50:00 GMT 2010
while building Cygwin hosted toolchain build was mysteriously failing with
'No such file or directory'. Here's a test case:
for i in 1 2 3 4 5 6 7 8
mkdir -p $P
(cd $P && pwd)
pwd outputs just '.', but once editing loop to end at 7th iteration (thus
making path shorter than 255 characters) it prints path correctly.
The problem is that 'cd' cannot change directory to path longer that 255
characters and fails silently with exit status 0. Is it known/expected
Cygwin DLL version 1.7.7 on Windows 2003 Server Ver 5.2 Build 3790 Service
Pack 2, running under WOW64 on AMD64.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin