From owner-cvs-sbin Fri Jul 7 00:27:30 1995 Return-Path: cvs-sbin-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA02823 for cvs-sbin-outgoing; Fri, 7 Jul 1995 00:27:30 -0700 Received: (from rgrimes@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA02810 ; Fri, 7 Jul 1995 00:27:23 -0700 Date: Fri, 7 Jul 1995 00:27:23 -0700 From: "Rodney W. Grimes" Message-Id: <199507070727.AAA02810@freefall.cdrom.com> To: CVS-commiters, cvs-sbin Subject: cvs commit: src/sbin/dump traverse.c Sender: cvs-sbin-owner@freebsd.org Precedence: bulk rgrimes 95/07/07 00:27:23 Modified: sbin/dump traverse.c Log: Branch: RELENG_2_0_5 cvs update -j 1.3 traverse.c: ---------------------------- revision 1.3 date: 1995/06/24 17:07:21; author: joerg; state: Exp; lines: +4 -2 When using dump/rdump on large filesytems (my case 3 GB), the lseek claims multiple times to have failed. The problem is a off_t is converted into a int and checked for a negative. A true lseek check should be checking if the off_t is equal to -1 for failure. (Suggested fix from PR #bin/461) Submitted by: mark tinguely ----------------------------