Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hi,

* Jakub Lach <jakub_lach@mailplus.pl> wrote:
> ===> 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 = 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.

-- 
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkpcY+UACgkQ52SDGA2eCwXriACfdWNvzYua5NGD7wEa86fLXMq0
vxIAnRBqnO66LyETWequkHY1jVPp8sJv
=n7gZ
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090714105429.GL48776>