Subject: CVS commit: basesrc/usr.sbin/dev_mkdb
To: None <>
From: Emmanuel Dreyfus <>
List: source-changes
Date: 07/13/2001 18:54:23
Module Name:	basesrc
Committed By:	manu
Date:		Fri Jul 13 15:54:22 UTC 2001

Modified Files:
	basesrc/usr.sbin/dev_mkdb: dev_mkdb.c

Log Message:
Moved the errno=0 in the loop for opening the temp file. The problem was that
successful syscalls never set errno, and hence we could have had an inifinite
loop if the opening failed once and succeded on second attempt.

To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 basesrc/usr.sbin/dev_mkdb/dev_mkdb.c

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