On Jan 22, 2010, at 9:54 AM, Nix wrote: > These results are inverted, so in 1.2.3.5, gzdirect() returns 0 even > when the input source file is not compressed at all. Oops?
All, Yes, oops. This was already known. The testing for now should be against the production version, 1.2.3.0, as Daniel has already done. My next internal beta, 1.2.3.7, has the new gzdirect() fixed. (1.2.3.5 and beyond include a wholesale replacement of the gz* functions.) The problem was that gzdirect() only reported correctly after you start reading the file (e.g. after a gzread()), which doesn't happen when you just do a gzopen(). gzdirect() now forces a file read when it immediately follows a gzopen() in order to determine if it's a gzip file or not. Mark _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml