commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] [bugs #11200] LineInputStream


From: Michael Koch
Subject: [commit-cp] [bugs #11200] LineInputStream
Date: Thu, 13 Jan 2005 11:36:31 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux; X11; i686; de) (KHTML, like Gecko)

This is an automated notification sent by Savannah.
It relates to:
                bugs #11200, project classpath

==============================================================================
 LATEST MODIFICATIONS of bugs #11200:
==============================================================================

               Posted by: Michael Koch <mkoch>
               Posted on: 2005-01-13 11:36 (GMT)
    _______________________________________________________

                  Status:                    None -> Fixed                  
             Open/Closed:                    Open -> Closed                 

    _______________________________________________________

Follow-up Comment:
I should the source code before doing any assumptions. This bug is already
fixed in GNU inetlib and GNU classpath CVS.

==============================================================================
 OVERVIEW of bugs #11200:
==============================================================================

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11200>

                 Summary: LineInputStream
                 Project: classpath
            Submitted by: xpoinsar
            Submitted on: Fre 03.12.2004 um 14:56
                Category: inetlib
                Severity: 5 - Average
                  Status: Fixed
                 Privacy: Public
             Assigned to: None
             Open/Closed: Closed
        Platform Version: None

    _______________________________________________________


I had to disable block reads to be able to use it (via POP3Messages).

When block reads was enabled, the line 147

len = in.read(b, 0, pos);

was looping since len was -1 (nothing to read) and len was supposed to be
>0.

It was looping until pos was >0 again.

But of course the fetch of the message was flowed : the headers were showing
in message body.

    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Don 13.01.2005 um 11:36       By: Michael Koch <mkoch>
I should the source code before doing any assumptions. This bug is already
fixed in GNU inetlib and GNU classpath CVS.

-------------------------------------------------------
Date: Don 13.01.2005 um 11:16       By: Michael Koch <mkoch>
This applies to GNU classpath too as it now uses this class too for the HTTP
client implementation.








==============================================================================

This item URL is:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11200>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]