|
From: <mat...@us...> - 2014-04-07 04:42:04
|
Revision: 544
http://sourceforge.net/p/cgreen/code/544
Author: matt_hargett
Date: 2014-04-07 04:41:55 +0000 (Mon, 07 Apr 2014)
Log Message:
-----------
fix regression when running test_all_constraints suite without the cgreen-runner.
Modified Paths:
--------------
trunk/cgreen/src/posix_cgreen_pipe.c
Modified: trunk/cgreen/src/posix_cgreen_pipe.c
===================================================================
--- trunk/cgreen/src/posix_cgreen_pipe.c 2014-04-07 04:05:43 UTC (rev 543)
+++ trunk/cgreen/src/posix_cgreen_pipe.c 2014-04-07 04:41:55 UTC (rev 544)
@@ -44,7 +44,7 @@
ssize_t cgreen_pipe_read(int p, void *buf, size_t count)
{
- if (0 != fcntl(p, F_SETFL, O_ASYNC)) {
+ if (0 != fcntl(p, F_SETFL, O_NONBLOCK)) {
fprintf(stderr, "could not set file status flag on read pipe\n");
return -1;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|