This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bug in (read-line)


forcer writes:
 > guile> (define p (pipe))
 > guile> (write-line "foo" (cdr p))
 > guile> (force-output (cdr p))
 > guile> (read-line (car p))
 > Aborted

Following Djurfield, read-line crashes only happen with a buggy libc.
At least that was the answer when I told about SIGIOTs in read-line.
My temporary workaround is to iterate over read-char. (pretty slow)

Klaus Schilling