in reply to Re^2: -e " " returns true
in thread -e " " returns true
To complete the picture, I finally tracked down the mysterious PerlDir_map(A|W) to win32\vdir.h. This appears to be a C++ Dir object class stolen from somewhere.
The MapPath(A|W) methods are very strange indeed. They eventually call GetFullPathName(A|W) to convert relative paths to absolute paths, but go through a heap of pre-conditioning of the input path before doing so. This pre-conditioning appears to be intended to work around bugs in that API that existed back then.
However, GetFullPathName still exibits some very peculiar bugs, including rendering various non-pathnames as the cwd as described earlier.
This problem is an accumulation of OS bugs, a couple of perl implementation fopars, and too many layers. It's gonna be a bitch to fix.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: -e " " returns true
by DrHyde (Prior) on Jul 07, 2004 at 16:14 UTC | |
by BrowserUk (Patriarch) on Jul 07, 2004 at 16:31 UTC |