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

[MiNT] MiNTlibs for PureC



Hallo Guido


GF>Hm, a few minutes ago I have changed every occurence of "return
GF>__SMALLEST_VALID_HANDLE -1" by "return -1" in open.c. Will this break

That's IMHO the only reasonable way. Though I must admit I don't get it
how it works without MSHORT. You could set errno or similar to something
useable (PRN:-3, AUX:-2, CON:-1).

I remember a change in ksh I did, where handle -1 could be redirected,
but this was a hack. I don't want to use those kind of things anymore.

bye, Helmut