The attached patch fixes a small issue I found in the non-haskeline
user input code.  Namely, if darcs prompts for user input and the user
types ctrl-D, darcs will hang until ctrl-C is pressed.  For example:

Shall I record this change? (1/1)  [ynWsfvpxdaqjk], or ? for help: y
What is the patch name? [typed ctrl-D here] darcs: <stdin>: hGetLine:
end of file
[hang occurs here]
^CwithSignalsHandled: Interrupted!

-Judah

Thu Sep 18 09:30:17 PDT 2008  Judah Jacobson <[EMAIL PROTECTED]>
  * Fix hang after a user input error (for example, EOF).

Attachment: hang.patch
Description: Binary data

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to