[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [MiNT] Here documents and CRLF



> From: owner-mint@fishpool.com [mailto:owner-mint@fishpool.com]On Behalf
> Of Guido Flohr
> Sent: Thursday, June 17, 1999 9:13 PM
> To: MiNT mailing list
> Subject: Re: [MiNT] Here documents and CRLF
>
>
> Hi Thomas!
>
> On Thu, Jun 17, 1999 at 12:15:11PM +0200, Thomas Binder wrote:
> > Hi!
> >
> > On Wed, Jun 16, 1999 at 02:27:43AM +0200, Guido Flohr wrote:
> > > I think the only part of UNIXMODE that gets evaluated by the
> MiNTLib is
> > > the "b" resp. the missing "b".
> >
> > The "rX" part should also be evaluated in crtinit.c somewhere, to set
> > the current directory to the root dir of drive X.
>
> You are just testing me, right? Where is the candid camera?
>
> But even if I don't cd to "/X", no, I think the "rX" part is not
> evaluated at all.  This is in conflict with the Unixmode docs but I would
> still prefer to leave it as it is.  Both MiNT and MagiC do that within the
> kernel and re-emulating that in the lib would be error-prone and it would
> also mean some considerable overhead.

Keep in mind that you have to parse it -- otherwise something like "rb" (set
the root to drive B:) might be misinterpreted.