It's Gentoo Linux, though I compiled aolserver/tcl outside of Portage. The files are on a ReiserFS partition, but I don't know the details of its support (they are definitely there).
Kevin
Dossy Shiobara wrote:
On 2005.02.25, Kevin S. Davis <[EMAIL PROTECTED]> wrote:
Why yes they are. :) And I tried a file just under 2GB and it seems to work fine. And 2^31 = 2G. I take it fastpath checks the file size and errors because it's over 32 bits?
I think the error you're seeing is coming from this code from nsd/fastpath.c:
440 static int 441 FastStat(char *file, struct stat *stPtr) 442 { 443 if (stat(file, stPtr) != 0) { 444 if (errno != ENOENT && errno != EACCES) { 445 Ns_Log(Error, "fastpath: stat(%s) failed: %s", 446 file, strerror(errno)); 447 } 448 return 0; 449 } 450 return 1; 451 }
Your error was:
Error: fastpath: stat(/path/to/big/file) failed: Value too large for defined data type
What OS are you using? Does it have largefile support? Does it use size_t or off_t as the type of the st_size element in the stat struct, or a signed int?
-- Dossy
-- Dossy Shiobara mail: [EMAIL PROTECTED] Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)
-- AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
-- AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
