Fixed compilation issue for CGI and libFCGI connector
due to recent changes in interface (use READABLE_STRING_8)
This commit is contained in:
@@ -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)"
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user