Commit Graph

11 Commits

Author SHA1 Message Date
Bob Friesenhahn
d21d2b3057 * libtiff/tif_config.vc.h: Make adjustments to match the new
definitions that configure produces, including for WIN64.  Still
needs to be tested.

'lld' is not assured by the run-time DLLs and so GCC warns.
Add TIFF_SIZE_T and TIFF_SIZE_FORMAT to provide a type definition
and printf format specifier to deal with printing values of
'size_t' type.  In particular, this was necessary for WIN64.
Added a configure test for if the system headers provide 'optarg'
(normal case) and block out the many explicit 'extern' statements
in the utilities.  This was found to be necessary under Windows
when getopt is in a DLL and the symbols are already imported with
dllimport via standard header files.
2015-06-21 01:09:09 +00:00
Bob Friesenhahn
aea225d02e * contrib/iptcutil/iptcutil.c (formatIPTC): Fix Coverity 1024468
"Infinite loop".
(formatIPTC): Fix Coverity 1024727 "Truncated stdio return value".
(formatIPTC): Fix Coverity 1214240 "Untrusted loop bound".
2015-05-29 13:43:47 +00:00
Bob Friesenhahn
a7ced11ff1 * contrib/iptcutil/iptcutil.c: Fix warnings about variables set
but not used.
2014-12-26 16:10:08 +00:00
Frank Warmerdam
bb96a66b1d remove use of memory.h, it is unneeded and does not exist everywhere 2011-05-08 00:44:18 +00:00
Bob Friesenhahn
bfbc717684 * contrib: Add an emacs formatting mode footer to all source files
so that emacs can be effectively used.
2010-06-08 18:55:15 +00:00
Bob Friesenhahn
968401fdf3 * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
tags now require 64-bit parameter rather than 32-bit.
* libtiff/tif_dirread.c: Fixed issues with unaligned access to
64-bit values.
2008-12-31 03:06:27 +00:00
Frank Warmerdam
e019c52f55 deal with a leak, and a possible runtime problem reported by coverity 2008-05-24 02:14:11 +00:00
Andrey Kiselev
3739d496c0 Avoid warnings. 2004-09-21 13:34:39 +00:00
Andrey Kiselev
a3a80ae91d Avoid warnings. 2004-09-03 08:56:06 +00:00
Andrey Kiselev
adfb758327 *** empty log message *** 2004-05-03 18:39:24 +00:00
Mike Welles
0ef31e1f62 Initial revision 1999-07-27 21:50:26 +00:00