Date: Tue, 14 Jul 2009 12:54:29 +0200 From: Ed Schouten <ed@80386.nl> To: Jakub Lach <jakub_lach@mailplus.pl> Cc: freebsd-current@freebsd.org Subject: Re: Build error "am_ET.UTF-8.out: Inappropriate ioctl for device"" Message-ID: <20090714105429.GL48776@hoeg.nl> In-Reply-To: <24477244.post@talk.nabble.com> References: <24477244.post@talk.nabble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--i9ck9l8+8M5KOjzp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, * Jakub Lach <jakub_lach@mailplus.pl> wrote: > =3D=3D=3D> share/mklocale (all) > mklocale -o UTF-8.out /usr/src/share/mklocale/UTF-8.src > mklocale -o am_ET.UTF-8.out /usr/src/share/mklocale/am_ET.UTF-8.src > am_ET.UTF-8.out: Inappropriate ioctl for device It turned out this is because mklocale calls fwrite() with size =3D 0, which will as of recently always cause fwrite() to return 0. I just fixed this in SVN. I discussed this with re@ and for now I'm going to leave fwrite() the way it is. Other operating systems already have this behaviour, so it is very unlikely to cause (major) regressions, especially in third party sources. If other problems arise, I will obviously revert the change and reintegrate it after we've branched RELENG_8. --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --i9ck9l8+8M5KOjzp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkpcY+UACgkQ52SDGA2eCwXriACfdWNvzYua5NGD7wEa86fLXMq0 vxIAnRBqnO66LyETWequkHY1jVPp8sJv =n7gZ -----END PGP SIGNATURE----- --i9ck9l8+8M5KOjzp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090714105429.GL48776>