Subject: CVS commit: basesrc/dist/bind/bin/nsupdate
To: None <source-changes@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 05/09/2002 06:14:15
Module Name: basesrc
Committed By: simonb
Date: Thu May 9 03:14:15 UTC 2002
Modified Files:
basesrc/dist/bind/bin/nsupdate: nsupdate.c
Log Message:
There's no use assigning the output of strtoul() to a 32-bit variable
then checking that against ULONG_MAX. Instead use a "unsigned long"
as the temporary variable. Then check against UINT32_MAX before
assigning back to the original variable.
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 basesrc/dist/bind/bin/nsupdate/nsupdate.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.