Mail Archives: djgpp/1997/02/25/03:35:21
Eli Zaretskii wrote:
> The port of `bash' uses double slash "//d/djgpp/bin". This is AFAIK
> the only way this can work, since Unix programs explicitly code the
> `/' character as the first character of absolute pathnames; any other
> prefix character will still need DOS-specific code.
>
> However, building this convention into DJGPP means you have to rewrite
> some low-level file-oriented functions, because DOS knows nothing
> about such filenames (the current code in libc collapses multiple
> slashes into a single slash).
As do most Unix shells:
max AT newton:~% ls Tmp
array array.cc array.o
max AT newton:~% ls Tmp//array.cc
Tmp//array.cc
--
Erik Max Francis, &tSftDotIotE / email: max AT alcyone DOT com
Alcyone Systems / web: http://www.alcyone.com/max/
San Jose, California, United States / icbm: 37 20 07 N 121 53 38 W
\
"I am become death, / destroyer of worlds."
/ J. Robert Oppenheimer (quoting legend)
- Raw text -