diff options
author | Han The Thanh <hanthethanh@gmail.com> | 2010-04-15 10:41:16 +0000 |
---|---|---|
committer | Han The Thanh <hanthethanh@gmail.com> | 2010-04-15 10:41:16 +0000 |
commit | e4f537c4f2f520fd294def7658650ee576abdf57 (patch) | |
tree | 048faf21ee5d0a8a28ecb03b43efc0262e96c6ef /Build/source/texk/web2c/pdftexdir/writejbig2.c | |
parent | f9a686d424f912154ffe8b7d5eb235032777a16f (diff) |
some cleanup and bug fixes for pdftex
git-svn-id: svn://tug.org/texlive/trunk@17876 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/writejbig2.c')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/writejbig2.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/writejbig2.c b/Build/source/texk/web2c/pdftexdir/writejbig2.c index e724a3cab3c..6ef31f012f7 100644 --- a/Build/source/texk/web2c/pdftexdir/writejbig2.c +++ b/Build/source/texk/web2c/pdftexdir/writejbig2.c @@ -78,7 +78,6 @@ object exists, reference it. Else create fresh one. ***********************************************************************/ #include "writejbig2.h" -#undef DEBUG /**********************************************************************/ @@ -311,19 +310,10 @@ boolean readseghdr(FILEINFO * fip, SEGINFO * sip) sip->hdrstart = xftell(fip->file, fip->filename); if (fip->sequentialaccess && sip->hdrstart == fip->filesize) return false; /* no endoffileflag is ok for sequentialaccess */ -#ifdef DEBUG - printf("\nhdrstart %d\n", sip->hdrstart); -#endif /* 7.2.2 Segment number */ sip->segnum = read4bytes(fip->file); -#ifdef DEBUG - printf(" segnum %d\n", sip->segnum); -#endif /* 7.2.3 Segment header flags */ sip->seghdrflags = ygetc(fip->file); -#ifdef DEBUG - printf(" hdrflags %d\n", sip->seghdrflags & 0x3f); -#endif checkseghdrflags(sip); if (fip->sequentialaccess && sip->endoffileflag) /* accept shorter segment, */ return true; /* makes it compliant with Example 3.4 of PDFRef. 5th ed. */ |