From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: Forgive my ignorance, but can someone answer a question for me? Date: Mon, 24 Feb 1997 22:39:17 -0800 Organization: Alcyone Systems Lines: 26 Message-ID: <33128915.4B54D12E@alcyone.com> References: NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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)