IO_DEBUG in libio/Makefile
Andreas Jaeger
aj@arthur.rhein-neckar.de
Wed Apr 7 13:33:00 GMT 1999
Hi,
PR libc/1069 reported a problem with a call to fseek on a non-opened
filehandle. The program worked when statically linked but fails
dynamically linked. Jon Sherling pointed out that this results from
different definitions for CHECK_FILE in libio/libioP.h. Only with
IO_DEBUG set (which is set for the static library), a test function is
used to check the FILE handle.
Is this really intented? Shouldn't IO_DEBUG always be off - and
perhaps switched on only in some special debugging library ?
Andreas
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de
More information about the Libc-hacker
mailing list