darcs

Issue 94 buffering error of darcs record under bash/cmd.exe

Title buffering error of darcs record under bash/cmd.exe
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, eivuokko, jch, kowey, thorkilnaur, tommy, wglozer, zooko
Assigned To tommy
Topics Windows

Created on 2006-01-12.21:01:21 by zooko, last changed 2009-08-27.13:51:29 by admin.

Messages
msg358 (view) Author: zooko Date: 2006-01-12.21:01:20
Two different people have reported to me, and I have observed over their
shoulders, that "darcs record" fails to respond when you hit "y" after it asks
you if you want to record a patch.  If you then hit Enter (I think), it exits
out complaining about an error in hSetBuffering.  Relevant facts:

1.  If you switch from bash under cmd.exe to bash under rxvt.exe then this
problem goes away.  (But then you get other problems [otherbugs325].)

2.  If you switch from cygwin-wrapper.ba.sh to realdarcs.exe the behavior is
unchanged.

3.  The behavior depends upon the repository state in some way -- it happens
100% reproducibly when trying to record from some states, but when trying to
record from other states the record works normally.

4.  We have never seen this buffering problem when interactively choosing which
patches to push in "darcs push".

--Z

[otherbugs325] http://otherbugs.darcs.net//Ticket/Display.html?id=325
msg369 (view) Author: jch Date: 2006-01-13.22:09:28
Zooko, please mark Windows-specific bugs.
msg1277 (view) Author: tommy Date: 2006-11-27.17:32:28
Please see the patch in issue41.
msg2043 (view) Author: kowey Date: 2007-08-11.10:53:45
For info, this is the patch in question (darcs 1.0.9)

Fri Nov 17 23:14:24 CET 2006  Tommy Pettersson <ptp@lysator.liu.se>
  * ignore failure from hSetBuffering
History
Date User Action Args
2006-01-12 21:01:21zookocreate
2006-01-13 14:39:15droundysetnosy: droundy, tommy, zooko
2006-01-13 22:09:28jchsettopic: + Windows
status: unread -> unknown
messages: + msg369
nosy: + wglozer, eivuokko, jch
2006-11-27 17:32:29tommysetnosy: + kowey
messages: + msg1277
2007-08-11 10:53:47koweysetstatus: unknown -> resolved
nosy: + beschmi
messages: + msg2043
2009-08-06 17:36:32adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, dagit, mornfall, simon, thorkilnaur, - droundy, jch, wglozer, eivuokko
2009-08-06 20:33:35adminsetnosy: - beschmi
2009-08-10 22:21:39adminsetnosy: + wglozer, eivuokko, jch, - markstos, darcs-devel, jast, dagit, Serware, mornfall
2009-08-25 17:50:27adminsetnosy: + darcs-devel, - simon
2009-08-27 13:51:29adminsetnosy: jch, tommy, kowey, wglozer, darcs-devel, zooko, eivuokko, thorkilnaur, dmitry.kurochkin