From 827cf5621c44c3d315ac95c52c15a23f88d5d44d Mon Sep 17 00:00:00 2001 From: Martin Schröder Date: Thu, 8 May 2008 14:25:16 +0000 Subject: Import pdftex 1.40.8-beta-20080506 git-svn-id: svn://tug.org/texlive/trunk@7945 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/pdftexdir/utils.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Build/source/texk/web2c/pdftexdir/utils.c') diff --git a/Build/source/texk/web2c/pdftexdir/utils.c b/Build/source/texk/web2c/pdftexdir/utils.c index 8d50fb9a9f8..44b3993fa74 100644 --- a/Build/source/texk/web2c/pdftexdir/utils.c +++ b/Build/source/texk/web2c/pdftexdir/utils.c @@ -16,8 +16,6 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with pdfTeX; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -$Id$ */ #include "openbsd-compat.h" @@ -39,6 +37,9 @@ $Id$ #include "png.h" #include "xpdf/config.h" /* just to get the xpdf version */ +static const char _svn_version[] = + "$Id$ $URL: http://scm.foundry.supelec.fr/svn/pdftex/branches/stable/source/src/texk/web2c/pdftexdir/utils.c $"; + #define check_nprintf(size_get, size_want) \ if ((unsigned)(size_get) >= (unsigned)(size_want)) \ pdftex_fail ("snprintf failed: file %s, line %d", __FILE__, __LINE__); @@ -406,9 +407,9 @@ void writestreamlength(integer length, longinteger offset) if (jobname_cstr == NULL) jobname_cstr = xstrdup(makecstring(jobname)); if (fixedpdfdraftmode == 0) { - xfseek(pdffile, (off_t)offset, SEEK_SET, jobname_cstr); + xfseeko(pdffile, (off_t) offset, SEEK_SET, jobname_cstr); fprintf(pdffile, "%li", (long int) length); - xfseek(pdffile, (off_t)pdfoffset(), SEEK_SET, jobname_cstr); + xfseeko(pdffile, (off_t) pdfoffset(), SEEK_SET, jobname_cstr); } } -- cgit v1.2.3