-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Bruno Haible on 3/9/2008 5:22 PM: | Eric Blake wrote: |> | - freadptr is changed to also return the size of the buffer. |> | extern const char * freadptr (FILE *stream, size_t *sizep); |> | When the return value is non-NULL, *sizep is set to the size of the |> | buffer whose address is the return value. |> |> Sounds fine to me. | | Here is the first part, the extended freadptr API.
FWIW, using the latest freadptr and freadseek, when compared to the prior usage of getc, shaved off another 2% of M4 execution speed when running autoconf on large projects like coreutils. Thanks again for these APIs. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkfV7t0ACgkQ84KuGfSFAYBlqgCgu8NqiRD9aeNUjmV/ljy60efZ tHYAn22HuBpTFOUWgS+rLNF+Hv9EOcWa =UZnJ -----END PGP SIGNATURE-----