bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: split refuses to split files when size is 4500m


From: Gregor Jackie
Subject: Re: split refuses to split files when size is 4500m
Date: Wed, 9 Jul 2003 09:14:12 +0100
User-agent: KMail/1.5.9

On Wednesday 09 of July 2003 06:07, Bob Proulx wrote:
> Gregor Jackie wrote:
> > jackie:/home/backups/EV1# split -b 4500m ev1.cpio.bz2
> > split: 4500m: invalid number of bytes
> > Try `split --help' for more information.
> > jackie:/home/backups/EV1# ls -lh ev1.cpio.bz2
> > -rw-r--r--    1 root     staff        7.8G Jun 11 07:46 ev1.cpio.bz2
>
> Thanks for the report.  Without even looking at the code I am sure you
> are overflowing the 32-bit long integer native on 32-bit systems.  Do
> you have access to a 64-bit machine?
I am sorry, but i don't. Well, but still i can ask somebody that does to test 
it out.
What i don't like, is first - that size is kept as signed int, since it does 
not make any sense to me. File size cannot be negative. And errors should be 
kept somewhere else, than in file size variable.

-- 
Jackie
Unix system administrator and security advisor




reply via email to

[Prev in Thread] Current Thread [Next in Thread]