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

From: Ed Schouten <ed_at_80386.nl>
Date: Tue, 14 Jul 2009 12:54:29 +0200
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_at_ 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/

Received on Tue Jul 14 2009 - 08:54:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC