-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Robert Millan on 1/1/2010 5:56 AM: > When importing getline.c into GNU GRUB, it failed to build due to undefined > ssize_t. Here's a fix (I believe including <sys/types.h> is portable enough, > please let me know if I'm wrong).
Hmm. The prototype for getline lives in <stdio.h>, so the real bug is that our replacement <stdio.h> is not guaranteeing that ssize_t is defined. Which platform was this failure on? Perhaps it resulted from Bruno's attempts to reduce namespace pollution on glibc machines, coupled with an older glibc that didn't yet expose everything required by POSIX 2008? - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAks9+n0ACgkQ84KuGfSFAYDANgCguyQDALhDLxJnaf7CO5OqSmk4 UE4AoKNn1G6AIDUYgiaMVu00g6tLa0dd =Pn9x -----END PGP SIGNATURE-----