freebsd-dev/lib/libdevinfo
John Baldwin afc7f38c6b Clear devinfo_generation in devinfo_free() since we are freeing all of the
cached state.  Otherwise, a subsequent call to devinfo_init() would succeed
without reading the device tree from the kernel thinking that the cached
state was up to date since the generation count was the same.  However,
since the cached state was actually free'd, attempts to examine the tree
after the second devinfo_init() would fail.

Reported by:	Juho Vuori juho dot vuori at kepa dot fi
Submitted by:	Stefan Farfeleder stefan at fafoe dot narf dot at
Approved by:	re (dwhite)
MFC after:	1 week
2005-06-22 15:20:11 +00:00
..
devinfo_var.h Expand length of pnpinfo and length fields since pccard pnpinfo can 2003-02-17 18:56:00 +00:00
devinfo.3 Enclose .Fa fn with ``The ... function'' at the beginning of sentences. 2004-07-26 19:35:20 +00:00
devinfo.c Clear devinfo_generation in devinfo_free() since we are freeing all of the 2005-06-22 15:20:11 +00:00
devinfo.h Expose the new kernel data structures to libdevinfo: 2002-09-20 02:16:33 +00:00
Makefile MAN[1-9] -> MAN. 2002-05-13 12:11:54 +00:00