Date: Thu, 15 Feb 2001 14:42:45 -0800 (PST) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/fstat fstat.c Message-ID: <200102152242.f1FMgjx88880@freefall.freebsd.org>
index | next in thread | raw e-mail
iedowse 2001/02/15 14:42:44 PST
Modified files:
usr.bin/fstat fstat.c
Log:
Fix `fstat -m' (show memory-mapped files), which was broken by
revision 1.25. When evaluating the termination condition for the
iteration over all map entries, we must take care to use the kernel
versions of all pointers. The code was comparing a kernel pointer
to a pointer within a local variable, so the loop never terminated.
Revision Changes Path
1.26 +3 -3 src/usr.bin/fstat/fstat.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102152242.f1FMgjx88880>
