Apache OpenOffice (AOO) Bugzilla – Issue 78061
Normalize multiple leading slashes correctly
Last modified: 2013-08-07 15:34:52 UTC
Teach dmake to normalize leading slashes according to POSIX rules. (One or more than two leading slashes -> / and keep // as it has a special meaning.) Also reduce multiple slashes after a dos drive letter to exactly one slash. (c:\\\\bla -> c:/blah) See issue 74007 for the patch.
Committed testcase and documentation.
Please verify.
peeking around: found a rather pathological case which doesn't normalize well to posix notation: c:/ff/./\\pp -> /cygdrive/c/ff//pp it looks like backslashes are only handled on windows, ignored elsewhere.
Oeh! Well, this is actually an oversight from issue 69742. The patch from this issue only touched leading /s or the first slashes behind a drive letter. Nice catch ;) but not relevant, I hope. Can I fix this in dmake411 ?
.
dmake 4.9 active in MWS