Re: 2G tmpfile of sort

2006-09-22 Thread Jim Meyering
Chun Cui <[EMAIL PROTECTED]> wrote: > Hello, > 40GB file I have sorted, > > > 5,4G -rw--- 1 ccui ccui 5,4G 2006-09-22 17:59 sorttohzDo > 554M -rw--- 1 ccui ccui 554M 2006-09-22 17:53 sortBcil6Y > 556M -rw--- 1 ccui ccui 556M 2006-09-22 17:50 sort1u4AbM > 556M -rw--- 1 ccui ccui

Re: 2G tmpfile of sort

2006-09-21 Thread Jim Meyering
Eric Blake <[EMAIL PROTECTED]> wrote: > Paul Eggert checked in a gnulib patch today that tries to address your > problem, which appeared to still be present even in the latest 6.2 > tarball. So you would have to test a CVS build to see if it resolves your > problem. I've made a snapshot tarball,

Re: 2G tmpfile of sort

2006-09-20 Thread Chun Cui
Hello, I use Linux(Debian-unstable), version of sort is 'sort 5.93'. Intel CPU, 2GB Memory coreutils 5.2.1-2 gcc (GCC) 3.4.6 20060122 (prerelease) (Debian 3.4.5-2) kernel-2.6.15 with xfs but the compiled version is coreutils-5.97. maybe the version of my coreutil is too ol

Re: 2G tmpfile of sort

2006-09-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Please keep replies on the list, so that we can ensure this is resolved. According to Chun Cui on 9/20/2006 10:24 AM: > Hello, > Ah!I use Linux(Debian-unstable), version of sort is 'sort 5.93'. > > Intel CPU, 2GB Memory > coreutils

Re: 2G tmpfile of sort

2006-09-20 Thread Jim Meyering
Paul Eggert <[EMAIL PROTECTED]> wrote: > Eric Blake <[EMAIL PROTECTED]> writes: > >> Thanks for the report. Which platform, which compiler, and which version >> of coreutils was this? If it is still present in coreutils 6.2, we would >> like to get it fixed before 6.3. > > Yes, likewise. > > Look

Re: 2G tmpfile of sort

2006-09-20 Thread Paul Eggert
Eric Blake <[EMAIL PROTECTED]> writes: > Thanks for the report. Which platform, which compiler, and which version > of coreutils was this? If it is still present in coreutils 6.2, we would > like to get it fixed before 6.3. Yes, likewise. Looking at the implementation, it seems like there are

Re: 2G tmpfile of sort

2006-09-20 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Chun Cui on 9/19/2006 10:36 AM: > hello, > I sorted a 40GB file with 'sort'. > I have found,that sort can't create temp file > 2GB.After i changed > mkstemp to mkstemp64,it works! Thanks for the report. Which platform, which compiler, an