This is the mail archive of the guile@sourceware.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]

Re: restartable system calls under Linux


14-Jun-00 00:20 you wrote:
>> From: "Dale P. Smith" <dpsm@en.com>
>> Date: Tue, 13 Jun 2000 16:17:56 -0400
>>
>> Well, a simple read() seems to be restartable. I suspect that readline is doing something magic.  Does anyone with more experience than I in unix terminal i/o with readline interaction care to offer
>> any suggestions?

> I think you are on to something here.  It probably has something to
> do with readline: a) I don't have readline enabled and I don't see the
> problem b) I tried booting a linux 2.2 kernel and it made no difference
> c) grepping the readline 4.0 sources for SIGWINCH shows some suspicious
> sigaction calls.

> Maybe a solution would be to reset the SA_RESTART flag on the SIGWINCH
> handler as part of the readline enabling process?

IMO it's just plain wrong. Readline is not artifact and neither it's written
by inaccessible commitee from Mars. If it's bug in readline then we should
cook up simple program (without guile - it plain C) to show it and talk
without readline maintainers.




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