diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2012-08-07 23:08:00 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2012-08-07 23:08:00 +0000 |
commit | 64cff6d13e79378336992caace8fab4492ef7cd9 (patch) | |
tree | 77b8972c557ef391ffa3533ec8ef1d6385ec229b /Build | |
parent | e86e12772866d2d71e41107d32425701acafddd1 (diff) |
largefile
git-svn-id: svn://tug.org/texlive/trunk@27334 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ChangeLog | 11 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ptexlib.h | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/utils.c | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/vfpacket.c | 2 |
4 files changed, 16 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog index e40b370c24c..da4e364bf30 100644 --- a/Build/source/texk/web2c/pdftexdir/ChangeLog +++ b/Build/source/texk/web2c/pdftexdir/ChangeLog @@ -1,3 +1,14 @@ +2012-08-08 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * ptexlib.h: extern void writestreamlength(longinteger, longinteger); + for largefile. + extern void storepacket(internalfontnumber, integer, strnumber); to + avoid a compiler warning. + * utils.c: void writestreamlength(longinteger length, longinteger offset) + for largefile. + * vfpacket.c: void storepacket(internalfontnumber f, integer c, strnumber s) + to avoid a compiler warning. + 2012-08-03 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * pdftex.web: Update eTeX_revision and eTeX_version_string. diff --git a/Build/source/texk/web2c/pdftexdir/ptexlib.h b/Build/source/texk/web2c/pdftexdir/ptexlib.h index c0dd1bb3bda..fabf09bd213 100644 --- a/Build/source/texk/web2c/pdftexdir/ptexlib.h +++ b/Build/source/texk/web2c/pdftexdir/ptexlib.h @@ -215,7 +215,7 @@ extern void libpdffinish(void); extern char *makecfilename(strnumber s); extern void make_subset_tag(fd_entry *); extern void setjobid(int, int, int, int); -extern void writestreamlength(integer, longinteger); +extern void writestreamlength(longinteger, longinteger); extern void printID(strnumber); extern void printcreationdate(void); extern void printmoddate(void); @@ -259,7 +259,7 @@ extern void allocvffnts(void); /* vfpacket.c */ extern integer newvfpacket(internalfontnumber); -extern void storepacket(internalfontnumber, eightbits, strnumber); +extern void storepacket(internalfontnumber, integer, strnumber); extern void startpacket(internalfontnumber, eightbits); extern eightbits packetbyte(void); extern void poppacketstate(void); diff --git a/Build/source/texk/web2c/pdftexdir/utils.c b/Build/source/texk/web2c/pdftexdir/utils.c index 4511ffdde9b..965f845b52d 100644 --- a/Build/source/texk/web2c/pdftexdir/utils.c +++ b/Build/source/texk/web2c/pdftexdir/utils.c @@ -409,13 +409,13 @@ int xputc(int c, FILE * stream) return i; } -void writestreamlength(integer length, longinteger offset) +void writestreamlength(longinteger length, longinteger offset) { if (jobname_cstr == NULL) jobname_cstr = xstrdup(makecstring(jobname)); if (fixedpdfdraftmode == 0) { xfseeko(pdffile, (off_t) offset, SEEK_SET, jobname_cstr); - fprintf(pdffile, "%li", (long int) length); + fprintf(pdffile, "%" LONGINTEGER_PRI "i", length); xfseeko(pdffile, (off_t) pdfoffset(), SEEK_SET, jobname_cstr); } } diff --git a/Build/source/texk/web2c/pdftexdir/vfpacket.c b/Build/source/texk/web2c/pdftexdir/vfpacket.c index faeeab19db4..8b07efd5b48 100644 --- a/Build/source/texk/web2c/pdftexdir/vfpacket.c +++ b/Build/source/texk/web2c/pdftexdir/vfpacket.c @@ -52,7 +52,7 @@ integer newvfpacket(internalfontnumber f) return vf_ptr++ - vf_array; } -void storepacket(internalfontnumber f, eightbits c, strnumber s) +void storepacket(internalfontnumber f, integer c, strnumber s) { int l = strstart[s + 1] - strstart[s]; vf_array[vfpacketbase[f]].len[c - fontbc[f]] = l; |