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

Re: merging 1.11 with 1.10h9



In article <199408252251.PAA04088@netcom13.netcom.com> you write:
>Fcreate()'s behaviour on pipes has to be domain independent. The existing
>applications that rely on it are mostly MiNT domain.

 ahaa i see. :(

 ok then what about an explicit check for Fcreate?  so that
Fopen O_CREAT|O_TRUNC works (thats what mintlib creat() ends up as now)
and only Fcreate fails... (and of course (F)open O_CREAT|O_EXCL like on any
other file.)
>
>( "cat > /dev/tty" works anyway, because /dev/tty isn't a symbolic link,
>it's a device in biosfs that's effectively /dev/fd/-1.

 alright but think of ptys symlinked into /dev for example.  or anything
that expects unix named pipes behaviour...

> Even if it didn't work,
>"cat >> /dev/tty" would.)
>
 hmm >> is O_CREAT|O_APPEND...

 not given up hope yet ;)
	Juergen