Commit ID: 10059DD3B89156C2B99
CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/10/10 21:30:44 UTC
Modified files:
bin/mksh : misc.c
Log message:
fix part of realpath for drive-qualified DOS paths:
if a path or symlink target is drive-qualified, keep the drive letter
(this part from komh) and, if present, a leading (back)slash (from me)
missing: if a drive qualification is *not* followed by a (back)slash,
we must retrieve the per-drive cwd for the target drive and insert it
just like we insert the cwd for (normal/Unix) relative paths; maybe
consider redoing absolute/relative path logic, DOS paths are tristate
komh’s commit: fix realpath failure on OS/2
On OS/2, an absolute path is 'x:/path/to/file'. Because it has not
a leading slash, '/' is prepended, that is, '/x:/path/to/file'. As a
result, it fails to find a requested file.
To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.279 -r1.280 src/bin/mksh/misc.c