summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir/utils.c
diff options
context:
space:
mode:
authorMartin Schröder <martin@oneiros.de>2008-05-08 14:25:16 +0000
committerMartin Schröder <martin@oneiros.de>2008-05-08 14:25:16 +0000
commit827cf5621c44c3d315ac95c52c15a23f88d5d44d (patch)
tree9ec064331f207aa7e08b5057bdae34843df381ef /Build/source/texk/web2c/pdftexdir/utils.c
parentccae75643e0bad3a0450768463491b7760e8ad7c (diff)
Import pdftex 1.40.8-beta-20080506
git-svn-id: svn://tug.org/texlive/trunk@7945 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/utils.c')
-rw-r--r--Build/source/texk/web2c/pdftexdir/utils.c9
1 files changed, 5 insertions, 4 deletions
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);
}
}