Subject: bin/19822: /bin/sh does not work on archs where char == unsigned char and LC_CTYPE is set
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 01/12/2003 20:45:17
>Number: 19822
>Category: bin
>Synopsis: /bin/sh does not work on archs where char == unsigned char and LC_CTYPE is set
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 12 11:46:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Martin Husemann
>Release: NetBSD 1.6L
>Organization:
>Environment:
System: NetBSD night-porter.duskware.de 1.6L NetBSD 1.6L (PORTER) #0: Sat Jan 4 12:45:09 CET 2003 martin@insomnia.duskware.de:/usr/src/sys/arch/i386/compile/PORTER i386
Architecture: i386
Machine: i386
You need a machine arch where char == unsigned char or uncomment the "XXX - for
testing only" part of bin/sh/Makefile
>Description:
Since sometime in the last month or so /bin/sh fails for me on arm. There have
been other reports, which I guess where on macppc. Two easy test cases
are "/etc/rc.d/ntpd status" and "send-pr", but a lot of other scripts fail
with running out of memory too.
The error only occurs if LC_CTYPE is set:
# send-pr
send-pr: problem report not filled out, therefore not sent
# env LC_CTYPE=de_DE.ISO8859-15 send-pr
/usr/bin/send-pr: Out of space
>How-To-Repeat:
s/a
>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted: