Date: Sun, 24 Aug 1997 06:50:01 -0700 (PDT) From: Bruce Evans <bde@zeta.org.au> To: freebsd-bugs Subject: Re: bin/4366: Submission Message-ID: <199708241350.GAA02188@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/4366; it has been noted by GNATS. From: Bruce Evans <bde@zeta.org.au> To: dwhite@resnet.uoregon.edu, FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: Re: bin/4366: Submission Date: Sun, 24 Aug 1997 23:37:57 +1000 >>Description: > > bad144 crashes after it begins checking past 2048 megabytes on a large >hard disk. Manifested when using sysinstall's 'V' option on a large disk. Try this (untested) fix. Bruce diff -c2 bad144.c~ bad144.c *** bad144.c~ Sat Dec 2 16:36:52 1995 --- bad144.c Tue Aug 19 21:13:27 1997 *************** *** 142,146 **** } ! lseek(f, curr_sec * ss, L_SET); if ((n = read(f, buf, ss)) != ss) { --- 142,146 ---- } ! lseek(f, (off_t)ss * curr_sec, SEEK_SET); if ((n = read(f, buf, ss)) != ss) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708241350.GAA02188>