Subject: Re: bin/19693: /bin/sh broken on arm
To: David Laight <david@l8s.co.uk>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 01/05/2003 23:05:47
On Sun, Jan 05, 2003 at 06:12:18PM +0000, David Laight wrote:
> Try compiling sh with DEBUG=1, then do 'set -o debug' before running the
> script. This will write a (rather verbose) trace to (IIRC) ./tracefile
> (definitely something in .)
./trace it is, but it's exitingly unspectacular:
[..]
pid 2956, evaltree(0x442f8: 1) called
evalcommand(0x442f8, 2) called
evalcommand arg: [
evalcommand arg: -n
evalcommand arg: rc_pid=$(check_pidfile /var/run/ntpd.pid /usr/sbin/ntpd )
evalcommand arg: ]
builtin command: "[" "-n" "rc_pid=$(check_pidfile /var/run/ntpd.pid /usr/sbin/$
pid 2956, evaltree(0x442d8: 1) called
evalcommand(0x442d8, 0) called
builtin command: pid 2956, evaltree(0x44208: 8) called
pid 2956, evaltree(0x44248: 1) called
evalcommand(0x44248, 2) called
evalcommand arg: [
evalcommand arg: -z
evalcommand arg: status
evalcommand arg: ]
builtin command: "[" "-z" "status" "]"
pid 2956, evaltree(0x44148: 8) called
pid 2956, evaltree(0x441a8: 1) called
evalcommand(0x441a8, 2) called
evalcommand arg: [
evalcommand arg: -n
evalcommand arg:
evalcommand arg: ]
builtin command: "[" "-n" "" "]"
pid 2956, evaltree(0x44158: 1) called
evalcommand(0x44158, 0) called
evalcommand arg: eval
evalcommand arg: rc_flags=$ntpd_flags
builtin command: "eval" "rc_flags=$ntpd_flags"
exverror(1, "Out of space") pid=2956
pid 2956, exitshell(2)
Martin