Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2000 23:27:01 -0500
From:      Brian Dean <bsd@bsdhome.com>
To:        "John W. De Boskey" <jwd@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/split split.c
Message-ID:  <20001118232701.A2307@vger.bsdhome.com>
In-Reply-To: <200011190144.RAA60865@freefall.freebsd.org>; from jwd@FreeBSD.org on Sat, Nov 18, 2000 at 05:44:21PM -0800
References:  <200011190144.RAA60865@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 18, 2000 at 05:44:21PM -0800, John W. De Boskey wrote:
> jwd         2000/11/18 17:44:21 PST
> 
>   Modified files:
>     usr.bin/split        split.c 
>   Log:
>   Add/fix the ability to split a file larger than 2 gigabytes.

You used size_t for the size, which is a 4 byte unsigned, yet you use
strtoq() to get the value, which is an 8 byte value.  Did you mean to
use off_t or, or did you mean to use strtoul()?

-Brian


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001118232701.A2307>