Re: Files > than 2G

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

 



Robert Boone wrote:

The program is the standard unzip that came with redhat 9.



It's a bug. "strace -e open x.zip" shows

open("foo", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4

whereas "strace -e open cp x.zip y.zip" shows

   open("x.zip", O_RDONLY|O_LARGEFILE)     = 3
   open("y.zip", O_WRONLY|O_CREAT|O_LARGEFILE, 0100664) = 4

You need to pass "O_LARGEFILE" to open to get a large file and unzip isn't doing it. I wonder if there's a bug in bugzilla for this? It should be fairly straightforward to fix though.

jch



--
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux