This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
IO_DEBUG in libio/Makefile
- To: libc-hacker@cygnus.com
- Subject: IO_DEBUG in libio/Makefile
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: 07 Apr 1999 22:21:39 +0200
- Mail-Copies-To: never
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