comparison tests/testdmzlib.c @ 1108:5a8d29b88431

More fixes.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 04 Mar 2015 00:50:53 +0200
parents 62ccecea1317
children 043b5942fdb6
comparison
equal deleted inserted replaced
1107:69c0d8ad2672 1108:5a8d29b88431
296 dmErrorMsg("Failed to open output file '%s': %s\n", 296 dmErrorMsg("Failed to open output file '%s': %s\n",
297 optOutFilename, dmErrorStr(res)); 297 optOutFilename, dmErrorStr(res));
298 goto out; 298 goto out;
299 } 299 }
300 300
301 if (optSkip > 0 && DM_FSEEK64(inFile, optSkip, SEEK_CUR) != 0) 301 if (optSkip > 0 && fseeko(inFile, optSkip, SEEK_CUR) != 0)
302 { 302 {
303 int res = dmGetErrno(); 303 int res = dmGetErrno();
304 dmErrorMsg("Failed to seek in input stream: %s\n", 304 dmErrorMsg("Failed to seek in input stream: %s\n",
305 dmErrorStr(res)); 305 dmErrorStr(res));
306 goto out; 306 goto out;