[CWB] [ cwb-Bugs-3427282 ] CQP output redirect doesn't always check
SIGPIPE
SourceForge.net
noreply at sourceforge.net
Sun Mar 4 02:07:13 CET 2012
Bugs item #3427282, was opened at 2011-10-22 13:05
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=722303&aid=3427282&group_id=131809
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: CQP interface
Group: None
Status: Open
Resolution: None
Priority: 4
Private: No
Submitted By: Stefan Evert (schtepf)
Assigned to: Stefan Evert (schtepf)
Summary: CQP output redirect doesn't always check SIGPIPE
Initial Comment:
When redirecting "cat;" output to a pipe, CQP installs a signal handler to check for broken pipe signals, so the output loop can be aborted (important e.g. when displaying a large query result in the interactive pager). Other output commands with redirect – count, tabulate, etc. – fail to do so.
The signal handler code should be merged into the open_stream() and close_stream() functions in <cqp/output.h>. All CQP output commands that support redirects through this mechanism will then only have to check the global variable broken_pipe<cqp/output.h>.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-03-03 17:07
Message:
vR0tit <a href="http://mtxcnbmwxred.com/">mtxcnbmwxred</a>,
[url=http://iddhlksuwgvq.com/]iddhlksuwgvq[/url],
[link=http://uxrhdaiuevnn.com/]uxrhdaiuevnn[/link],
http://vnbfnkffxzdj.com/
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=722303&aid=3427282&group_id=131809
More information about the CWB
mailing list