[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-source-changes
Subject:    CVS commit: src/usr.bin/pwait
From:       "David A. Holland" <dholland () netbsd ! org>
Date:       2017-07-30 20:37:35
Message-ID: 20170730203736.0221FFACD () cvs ! NetBSD ! org
[Download RAW message or body]

Module Name:	src
Committed By:	dholland
Date:		Sun Jul 30 20:37:35 UTC 2017

Modified Files:
	src/usr.bin/pwait: pwait.c

Log Message:
The proper way to validate a condition that's expected to be true is
to assert it, not to bolt it into the program logic in a way that will
cause strange behavior if it accidentally isn't true at some point.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/pwait/pwait.c

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic