DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37829>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37829


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|5.5.9                       |5.0.30




------- Additional Comments From [EMAIL PROTECTED]  2005-12-12 13:44 -------
Hi Mark,

I found what caused this problem in class "CGIServlet", method "sendToLog". 

Until the version 5.0.30, the variable linecount was wrongly incremented after 
the loop and not inside it. 

That means it has always the value 1, even though there was no errors or many 
lines of message

            try {
                while ((line = rdr.readLine()) != null) {
                    log("runCGI (stderr):" +  line) ;
                }
                lineCount++ ;
            } catch (IOException e) {


I checked now the source code in the beta version 5.5.12 and 14, and this 
problem was solved. As you tested with the last version, the bug was no more 
there:

            try {
                while ((line = rdr.readLine()) != null) {
                    log("runCGI (stderr):" +  line) ;
                    lineCount++ ;
                }
            } catch (IOException e) {


As I didn't find any bug relating this problem, I created this bug before 
testing with the latest version. 

Thank for the attention, sorry if it took your time ;P

Armindo Correia


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to