-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Bob Friesenhahn on 10/19/2007 11:23 AM:
> It does not really matter what POSIX says.  Do you not agree that the
> text of the FreeBSD/OS-X manual page says that the fseeko in your patch
> will be ignored?

For WRITES.  But the bug was for READS.

> Not knowing what m4 is really trying to do, is there a reason that 'w+'
> is not being used?

Yes.  The file is intentionally opened in append mode, so that new
diversion text will go to the end, but dumping the diversion starts from
the beginning (after the seek, of course).

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHGOqr84KuGfSFAYARAp6wAJ9V/sVPOGUXUPDzNLl7Iq2r4jHKtwCeMmZd
7yR05GbWcIHL6Dtq8IzL52E=
=7WKq
-----END PGP SIGNATURE-----


Reply via email to