Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/evbppc/compile



Module Name:    src
Committed By:   simonb
Date:           Sat Mar 27 01:47:46 UTC 2004

Modified Files:
        src/sys/arch/evbppc/compile: walnut-mkimg.sh

Log Message:
Pass the OpenBIOS magic number to the awk script just like the other
numbers passed in instead of using a BEGIN construct.  nawk didn't like
the hex escapes used there.
Fixes a problem reported by Shin'ichiro TAYA on port-powerpc.

Use "int(NUMBER)%256" instead of just "NUMBER" in the printf "%c"
statements in the awk script.  nawk was appearing to refuse outputing
a 0 byte of the low eight bits of the number were 0 but any higher
bits were set.

walnut-mkimg.sh tested using gawk, nawk and mawk.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/sys/arch/evbppc/compile/walnut-mkimg.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index