Subject: CVS commit: src/lib/libc/gen
To: None <source-changes@NetBSD.org>
From: Valeriy E. Ushakov <uwe@netbsd.org>
List: source-changes
Date: 10/25/2006 20:43:49
Module Name:	src
Committed By:	uwe
Date:		Wed Oct 25 20:43:49 UTC 2006

Modified Files:
	src/lib/libc/gen: nlist_coff.c

Log Message:
G/c check() macro, b/c it's used only twice and the off < 0 test is
useless in the first case (off is 0), and causes error with new gcc
(comparison of unsigned expression < 0 is always false) in the
second.

While here fix a typo in a comment and use less indent to make BAD and
BADUNMAP definitions fit 80 columns.

XXX: The second check should probably be more elaborate to protect
against bogus/malicious COFF files.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/lib/libc/gen/nlist_coff.c

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