Subject: CVS commit: src/dist/dhcp/client
To: None <>
From: Jun-ichiro itojun Hagino <>
List: source-changes
Date: 05/06/2004 09:07:54
Module Name:	src
Committed By:	itojun
Date:		Thu May  6 09:07:54 UTC 2004

Modified Files:
	src/dist/dhcp/client: dhclient.c

Log Message:
add O_TRUNC to open(2).  revision 1.11 used fopen(foo, "w") which implies
truncation of opened file.  it should suppress bogus "corrupted lease file"
warning and broken dhclient.leases staying around.

To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/dist/dhcp/client/dhclient.c

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