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
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