Subject: CVS commit: src/lib/libc/arch/mips/sys
To: None <source-changes@netbsd.org>
From: Chris G. Demetriou <cgd@netbsd.org>
List: source-changes
Date: 02/07/2003 22:35:06
Module Name: src
Committed By: cgd
Date: Fri Feb 7 20:35:06 UTC 2003
Modified Files:
src/lib/libc/arch/mips/sys: cerror.S
Log Message:
looks like nobody ever seriously tried the _REENTRANT version of this
code (which, uh, seems the default for a fresh build)... it wasn't
setting up v1 properly (the instruction to set up v1 was after the
return jump, in "reorder" code... i.e. after the end of the function).
That would break error returns from 64-bit syscalls (e.g. checks
in dd and who knows what else) to see if input or output are pipes.
It looks like the non-_REENTRANT version was broken (on the nathanw-sa
branch) in rev 1.9.2.1 and fixed in 1.9.2.2, but the _REENTRANT version
was never fixed, and the broken bits were merged back on to the trunk.
To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/lib/libc/arch/mips/sys/cerror.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.