Subject: CVS commit: src/usr.bin/systat
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 12/07/2003 07:28:05
Module Name: src
Committed By: christos
Date: Sun Dec 7 07:28:05 UTC 2003
Modified Files:
src/usr.bin/systat: bufcache.c
Log Message:
- avoid coredump by returning NULL when read fails and don't keep following
the list.
- avoid zerodivide.
XXX: still does not work, but at least it does not core-dump.
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/usr.bin/systat/bufcache.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.