Subject: CVS commit: src/sys/lib/libsa
To: None <source-changes@netbsd.org>
From: Paul Kranenburg <pk@netbsd.org>
List: source-changes
Date: 02/24/2003 12:51:06
Module Name:	src
Committed By:	pk
Date:		Mon Feb 24 10:51:06 UTC 2003

Modified Files:
	src/sys/lib/libsa: loadfile.c loadfile.h

Log Message:
Introduce fdloadfile() to load an image from an open file descriptor;
implement loadfile() in terms of it.

This allows clients to open a file once and "load" it multiple times (e.g.
first with COUNT_KERNEL, then with LOAD_KERNEL) without the side-effects
of multiple open calls.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/sys/lib/libsa/loadfile.c
cvs rdiff -r1.3 -r1.4 src/sys/lib/libsa/loadfile.h

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