]> source.dussan.org Git - jgit.git/commit
Fix boundary conditions in AutoCRLFOutputStream 87/11887/2
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 14 Apr 2013 17:15:53 +0000 (19:15 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 14 Apr 2013 17:53:48 +0000 (19:53 +0200)
commit4c638be79fde7c34ca0fcaad13d7c4f1d9c5ddd2
treea07f7436c61292b23b25671edfbbbaed71aeaa00
parenta6ed390ea79ad0a29265448a1c294e9a1953eb53
Fix boundary conditions in AutoCRLFOutputStream

This fixes some problems with inputs around the size of the internal
buffer in AutoCRLFOutputStream (8000).

Tests supplied by Robin Stocker.

Bug: 405672
Change-Id: I6147897290392b3bfd4040e8006da39c302a3d49
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/io/AutoCRLFOutputStreamTest.java
org.eclipse.jgit/src/org/eclipse/jgit/util/io/AutoCRLFOutputStream.java