Mail Archives: djgpp-workers/2000/06/27/12:31:05
> Date: Tue, 27 Jun 2000 10:56:28 +0200
> From: Laurynas Biveinis <lauras AT softhome DOT net>
>
> Also, check output showed me:
> Impure stub fsext.o(close) -> stub0002.o
> Impure stub tempnam.o(access) -> stub0000.o
> [...]
>
> I'm not sure if they need fixing too, because neither
> fsext() nor tempnam() is ANSI/POSIX.
I think that's because fsext is called from _open, _read, etc. which
are called from ANSI functions, and so fsext cannot call close, which
is non-ANSI. I think the solution is simply to call _close instead,
because that's what close does anyway.
As for tempnam, it is called by tmpfile, which is ANSI, and so the
fact that tempnam calls access (a non-ANSI function) is a problem.
I think it could be a good idea to get libc build procedure to run
libclink/check automatically when the library is built, and abort the
build if something fails to check out. Would you like to add this?
> And the third, how to interpret other check output?
No clue. Doesn't the source tell? ;-)
- Raw text -