Commits

David Krentzlin  committed d4d6fa9

applied patch to fix a bug which made sendfile fail for files bigger than 1 megabyte. Thanke to Moritz

  • Participants
  • Parent commits 925f5c2

Comments (0)

Files changed (1)

File sendfile.scm

 ;; It tries to select the apropriate implementation but is not fool-proof
 (define (default-selector len)
   (cond
-   ((> len (megabytes 1) impl:read-write-loop/fd ))
+   ((> len (megabytes 1)) impl:read-write-loop/fd)
    (else
     (cond-expand
       (sendfile impl:sendfile)