Run of fresh-snapshots for golang-github-philhofer-fwd

Try this locally (using silver-platter):

debian-svp new-upstream --snapshot golang-github-philhofer-fwd 

Merge these changes:

Summary

Merged new upstream version: 1.0.0 (was: 0.0~git20160129.0.98c11a7).

Diff

diff --git a/debian/changelog b/debian/changelog
index 66b549e..685917f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-golang-github-philhofer-fwd (0.0~git20160129.0.98c11a7-1) UNRELEASED; urgency=medium
+golang-github-philhofer-fwd (1.0.0-1) UNRELEASED; urgency=medium
 
   * Team upload.
 
@@ -12,7 +12,10 @@ golang-github-philhofer-fwd (0.0~git20160129.0.98c11a7-1) UNRELEASED; urgency=me
   [ Alexandre Viau ]
   * Point Vcs-* urls to salsa.debian.org.
 
- -- Tim Potter <tpot@hpe.com>  Wed, 31 May 2017 15:39:06 +1000
+  [ Debian Janitor ]
+  * New upstream release.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sun, 18 Aug 2019 17:25:06 +0000
 
 golang-github-philhofer-fwd (0.0~git20151005.0.8fd9a4b-1) unstable; urgency=medium
 
diff --git a/reader.go b/reader.go
index e591910..75be62a 100644
--- a/reader.go
+++ b/reader.go
@@ -109,6 +109,10 @@ func (r *Reader) more() {
 	if a == 0 && r.state == nil {
 		r.state = io.ErrNoProgress
 		return
+	} else if a > 0 && r.state == io.EOF {
+		// discard the io.EOF if we read more than 0 bytes.
+		// the next call to Read should return io.EOF again.
+		r.state = nil
 	}
 	r.data = r.data[:len(r.data)+a]
 }
diff --git a/writer_test.go b/writer_test.go
index 8bab07c..3dcf3a5 100644
--- a/writer_test.go
+++ b/writer_test.go
@@ -29,7 +29,7 @@ func (c chunkedWriter) Write(p []byte) (int, error) {
 	return n, nil
 }
 
-// analagous to Write(), but w/ str
+// analogous to Write(), but w/ str
 func (c chunkedWriter) WriteString(s string) (int, error) {
 	l := len(s)
 	n := 0

Full worker log Full build log