guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, wip-ethreads, updated. v2.0.5-109-g00e


From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, wip-ethreads, updated. v2.0.5-109-g00efdc1
Date: Mon, 26 Mar 2012 22:30:55 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=00efdc12708735c8db863ec6171816052a31974d

The branch, wip-ethreads has been updated
       via  00efdc12708735c8db863ec6171816052a31974d (commit)
      from  23f820abb0a28381c78fb7d38fa091244e406378 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 00efdc12708735c8db863ec6171816052a31974d
Author: Andy Wingo <address@hidden>
Date:   Tue Mar 27 00:30:28 2012 +0200

    (web server ethreads): more use of latin1 accessors
    
    * module/web/server/ethreads.scm (read-http-line, continuation-line?):
      More latin1 changes.

-----------------------------------------------------------------------

Summary of changes:
 module/web/server/ethreads.scm |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/module/web/server/ethreads.scm b/module/web/server/ethreads.scm
index 9445e8a..7c45661 100644
--- a/module/web/server/ethreads.scm
+++ b/module/web/server/ethreads.scm
@@ -89,14 +89,14 @@
         (bad-request "EOF while reading line: ~S" str))
        (else
         (when (and (eqv? delim #\return)
-                   (eqv? (lookahead-u8 eport) (char->integer #\newline)))
-          (get-u8 eport))
+                   (eqv? (lookahead-latin1-char eport) #\newline))
+          (get-latin1-char eport))
         str)))))
 
 (define (continuation-line? port)
-  (let ((c (lookahead-u8 port)))
-    (or (eqv? c (char->integer #\space))
-        (eqv? c (char->integer #\tab)))))
+  (let ((c (lookahead-latin1-char port)))
+    (or (eqv? c #\space)
+        (eqv? c #\tab))))
 
 ;; Read a request from this port.
 (define (read-request client)


hooks/post-receive
-- 
GNU Guile



reply via email to

[Prev in Thread] Current Thread [Next in Thread]