bugGNU cpio - Bugs: bug #13284, can't copy files > 2Gb

 
 

bug #13284: can't copy files > 2Gb

Submitted by:  None
Submitted on:  Fri 03 Jun 2005 12:05:13 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 03 Jun 2005 01:42:15 PM UTC, comment #2:

Thank you. It has already been fixed in the repository.

Sergey Poznyakoff <gray>
Project Administrator
Fri 03 Jun 2005 01:40:54 PM UTC, comment #1:

this topic is covered by:
http://lists.gnu.org/archive/html/bug-cpio/2005-05/msg00002.html

Regards,
Pascal

Anonymous
Fri 03 Jun 2005 12:05:13 PM UTC, original submission:

when calling the copy_files_disk_to_disk function stat.st_size is passed, which is correct. But in the function it is read as a type 'long'. for example, on FreeBSD x86 32bits, stat.st_size is a signed 64bits integer while long is a signed 32bits integer which overflows when files are bigger than 2Gb.

to be compatible with all platforms, it would perhaps be usefull to keep all bytes counters of type of stat.st_size.

Regards,
Pascal

pascal dot gloor at spale dot com

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 03 Jun 2005 01:42:15 PM UTCgrayStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1