The readlink function in Interix belongs to the NT POSIX API. A replacement is unlikely to work. According to the disassembly of psxdll.dll they put a hardcoded buffer limit of 260 chars to readlink. There is a UNICODE variant of readlink called "wcs_readlink" that I used as a replacement. It worked and passed the test.
The system have a file name limit of ~32000 chars, but only under special rules. A practical file name limit on Windows systems is 260 chars. So, the conclusion would be: ========================================================== No Windows based system will likely pass the test as is. ========================================================== Now there is another failure: ... PASS: lockfiles-1 U first-dir/sdir/ssdir/file1 PASS: lockfiles-2 PASS: lockfiles-3 /tmp/cvs-sanity/cvsrootdir/CVSROOT/config,v <-- config new revision: 1.2; previous revision: 1.1 cvs commit: Rebuilding administrative file database PASS: lockfiles-4 cvs [update aborted]: cannot stat /tmp/cvs-sanity/locks: No such file or directory PASS: lockfiles-5 PASS: lockfiles-6 PASS: lockfiles-7 drwxr----- 1 Jerker Domain Admins 0 Apr 23 17:37 /tmp/cvs-sanity/locks/first-dir PASS: lockfiles-7a drwxr----- 1 Jerker Domain Admins 0 Apr 23 17:37 /tmp/cvs-sanity/locks/first-dir/sdir/ssdir PASS: lockfiles-7b PASS: lockfiles-8 ** expected: ** got: ? CVSROOT ? first-dir FAIL: lockfiles-9 Anyone got an idea why? _______________________________________________ Bug-cvs mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/bug-cvs
