This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

IO_DEBUG in libio/Makefile



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]