Fixed compilation issue for CGI and libFCGI connector

due to recent changes in interface  (use READABLE_STRING_8)
This commit is contained in:
Jocelyn Fiat
2011-12-02 12:05:07 +01:00
parent e70d67aed5
commit 03938b43c3
6 changed files with 34 additions and 7 deletions

View File

@@ -10,6 +10,9 @@ class
inherit
WGI_OUTPUT_STREAM
rename
put_string as put_readable_string_8
end
CONSOLE
rename
@@ -51,6 +54,17 @@ feature -- Status writing
put_header_line (s)
end
put_readable_string_8 (s: READABLE_STRING_8)
-- Write `s' at end of default output.
local
ext: C_STRING
do
if s.count > 0 then
create ext.make (s)
console_ps (file_pointer, ext.managed_data.item, s.count)
end
end
note
copyright: "2011-2011, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"

View File

@@ -58,7 +58,7 @@ feature -- Status writing
feature -- Basic operation
put_string (s: STRING)
put_string (s: READABLE_STRING_8)
-- Send `s' to http client
do
fcgi.put_string (s)

View File

@@ -49,7 +49,7 @@ feature -- FCGI connection
feature -- FCGI output
put_string (a_str: STRING)
put_string (a_str: READABLE_STRING_8)
-- Put `a_str' on the FastCGI stdout.
do
io.put_string (a_str)

View File

@@ -67,7 +67,7 @@ feature -- FCGI Connection
feature -- FCGI output
put_string (a_str: STRING)
put_string (a_str: READABLE_STRING_8)
-- Put `a_str' on the FastCGI stdout.
local
l_c_str: C_STRING

View File

@@ -126,7 +126,7 @@ feature -- FCGI connection
feature -- FCGI output
put_string (a_str: STRING)
put_string (a_str: READABLE_STRING_8)
-- Put `a_str' on the FastCGI stdout.
local
l_c_str: C_STRING