bug#15227: Possible bug in (web server)

2013-08-31 Thread Shane Celis
Hi all, I found a bug in (web server) on Mac OS X, and when I compared against GNU/Linux I seem to have found a bug in (web client) there. I've included a script and further details below. #!/usr/local/bin/guile \ -e main -s !# ;; guile-web-server-osx-bug.scm ;; ;; This script demonstrates a p

bug#15228: [PATCH] Close output port of I/O pipes

2013-08-31 Thread Josep Portella Florit
There is a missing feature for pipes created with mode OPEN_BOTH: (use-modules (ice-9 popen)) (use-modules (rnrs io ports)) (let ((p (open-pipe "md5sum" OPEN_BOTH))) (put-string p "hello") (let ((x (get-string-all p))) (close-pipe p) x)) This code deadlocks in get-string-all because