Newsgroups: comp.compression
From: "Matt Mahoney" <matmaho...@yahoo.com>
Date: 19 Jun 2005 16:31:59 -0700
Local: Sun, Jun 19 2005 7:31 pm
Subject: Re: The C-Prize
jim_bow...@hotmail.com wrote: Lots of programs probably assume files are never larger than 2 GB. > Erratum: > I had written: > This is wrong. I got this erroneous information from the first hit > http://www.linuxgeek.net/beginners/node101.html > The truth is that the maximum file size varies with the blocksize of > Ext2 or Ext3 (1 kB block size) 234 (16 GB) 241 (2 TB) > My Ubuntu system came with 4kB blocksize (according to dumpe2fs) for > The problem was with the wget command. Apparently the Linux distro fseek() and ftell() use 32 bit signed ints. Maybe your program doesn't call these directly, but maybe the library does. Maybe some other part of the program does this implicitly, like counting bytes with an int or long, or using 32 bit pointers or array indexes. Probably this stuff doesn't get tested a lot. It wouldn't hurt to split up the big files into pieces for the contest. -- Matt Mahoney You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||