tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime BodyContentImpl.java
Date Thu, 14 Aug 2003 22:11:12 GMT
luehe       2003/08/14 15:11:12

  Modified:    jasper2/src/share/org/apache/jasper/runtime
                        BodyContentImpl.java
  Log:
  Fixed buffer realloc when writing single char
  
  Revision  Changes    Path
  1.9       +1 -1      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/BodyContentImpl.java
  
  Index: BodyContentImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/BodyContentImpl.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- BodyContentImpl.java	14 Jan 2003 01:56:05 -0000	1.8
  +++ BodyContentImpl.java	14 Aug 2003 22:11:12 -0000	1.9
  @@ -106,7 +106,7 @@
   	} else {
   	    ensureOpen();
   	    if (nextChar >= bufferSize) {
  -		reAllocBuff (0);
  +		reAllocBuff (1);
   	    }
   	    cb[nextChar++] = (char) c;
   	}
  
  
  

Mime
View raw message