Build error "am_ET.UTF-8.out: Inappropriate ioctl for device""

Ed Schouten ed at 80386.nl
Tue Jul 14 10:54:31 UTC 2009


Hi,

* Jakub Lach <jakub_lach at 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 at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090714/ba0b27ea/attachment.pgp


More information about the freebsd-current mailing list