tests/no-mode-change-git-diff in patch 2.7.4 is unportable: check 'stat -c "%a" f'<<EOF 755 EOF
I don't think there is a POSIX standard for stat(1). The BSD implementation doesn't have -c, and the closest equivalent to the above, -f %p, returns the combined file type and mode. -- Christian "naddy" Weisgerber [email protected]
