CMake/Utilities
Brad King 297d9f2032 libarchive: Cast mode constants to mode_t in case it is signed
At least one compiler (Borland) defines mode_t as just "short" which is
signed.  This breaks code like

  switch(archive_entry_filetype(e)) {
    case AE_IFREG:
    ...
  }

if AE_IFREG and other constants have a longer signed type (int) because
sign extension of the mode_t return type from archive_entry_filetype
changes its value.  Avoid the problem by ensuring the type of the
constants matches mode_t.

This change was originally made in commit a73acfbe (Fix for mode_t with
signed types, 2009-11-07).  Port it to the new libarchive snapshot.
2011-12-23 16:04:58 -05:00
..
Doxygen Doxygen: Remove dependency on VTK when building doxygen. 2011-10-23 22:18:13 +02:00
Git pre-commit: Reject changes to KWSys through Git 2011-10-24 10:40:59 -04:00
KWIML Merge branch 'upstream-kwiml' into update-KWIML 2011-11-21 11:03:29 -05:00
KWStyle KWStyle Test: Activate by default if KWStyle is found 2011-09-07 19:04:44 -04:00
Release Release: Increase timeout for slow-testing cygwin build 2011-12-09 08:58:25 -05:00
cmbzip2 Suppress -Wcast-align in curl and bzip2 2010-09-10 09:00:48 -04:00
cmcompress Eliminate -Wconversion warnings. 2010-06-27 11:22:05 -04:00
cmcurl Merge topic 'require-cmake-2.6.3' 2011-03-01 15:30:38 -05:00
cmexpat Remove useless include file filters 2009-12-08 11:27:38 -05:00
cmlibarchive libarchive: Cast mode constants to mode_t in case it is signed 2011-12-23 16:04:58 -05:00
cmzlib Fixes for bug # 10543, build on older sunpro now works. 2010-05-04 14:52:22 -04:00
xml Run CMake.HTML test without net access (#10857) 2010-06-22 09:39:02 -04:00
.NoDartCoverage ENH: No need to do coverage of utilities 2005-06-14 15:53:10 -04:00
CMakeLists.txt cmake.m4: Use modern signature of install(FILES ...) 2011-08-26 13:51:32 -04:00
cmThirdParty.h.in Include headers from chosen libarchive (#10923) 2010-08-05 17:06:10 -04:00
cm_curl.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cm_expat.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cm_libarchive.h Include headers from chosen libarchive (#10923) 2010-08-05 17:06:10 -04:00
cm_xmlrpc.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cm_zlib.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmake.m4 Add a cmake.m4 for using cmake in autoconf projects instead of pkgconfig 2011-08-11 22:43:33 +02:00