Fixed various issues with libfcgi on Linux, mainly related to stdout,stderr,stdin, feof and related.
Added `reset' to the libfcgi input stream so that it is possible to reset previous errors.
This commit is contained in:
@@ -32,7 +32,12 @@ feature -- Access
|
||||
|
||||
fcgi_end_of_input: BOOLEAN
|
||||
do
|
||||
Result := fcgi.feof (fcgi.stdin) = 0
|
||||
Result := fcgi.feof (fcgi.stdin) /= 0 --| in fact, True if feof (..) = EOF
|
||||
end
|
||||
|
||||
fcgi_clearerr
|
||||
do
|
||||
fcgi.clearerr (fcgi.stdin)
|
||||
end
|
||||
|
||||
feature -- FCGI Connection
|
||||
|
||||
Reference in New Issue
Block a user