On Sat, Mar 15, 2008 at 07:23:33PM -0700, Robin Lee Powell wrote: > On Sat, Mar 15, 2008 at 07:10:14PM -0700, Robin Lee Powell wrote: > > [SPIFFY: (root) reading /home/rlpowell/svn/sert/test.scm with size > > 222.0#<unspecified>] > > Error: (file-read) bad argument type - not a fixnum: 222.0 > > Error: 500 Internal server error > > *Huh*. > > I've managed to track the problem down. It occurs when spiffy tries > to serve a file whose extension it doesn't know.
If it does, it will simply send the file's contents. This is done through sendfile, which looks at the size of the file, which is calculated with file-size. This procedure can return big numbers, for which Felix has made a change. This change requires you to compile chicken twice. Again, this is *not* a bug in Spiffy or in http. Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth
pgpxmCs5nkfzj.pgp
Description: PGP signature
_______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users