shithub: pdffs

Download patch

ref: d40e02af6cd8d0c9c3453e17012452c0928b51d5
parent: 8c5ae53bc4661de4f8d50e42a01c1404d9bb1b59
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Sun Nov 22 14:28:35 EST 2020

buffer: remove "eof" field

--- a/buffer.c
+++ b/buffer.c
@@ -104,7 +104,6 @@
 		sz = b->sz - b->off;
 	memmove(d, b->b+b->off, sz);
 	b->off += sz;
-	b->eof = sz == 0;
 
 	return sz;
 }
--- a/pdf.h
+++ b/pdf.h
@@ -24,7 +24,6 @@
 	int maxsz;
 	int sz;
 	int off;
-	int eof;
 };
 
 struct Filter {