summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pdftexdir/utils.c
diff options
context:
space:
mode:
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);
}
}