[Cmake-commits] [cmake-commits] hoffman committed archive_endian.h 1.1 1.2 archive_read_support_format_tar.c 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Oct 30 18:07:47 EDT 2009


Update of /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive
In directory public:/mounts/ram/cvs-serv5237/libarchive

Modified Files:
	archive_endian.h archive_read_support_format_tar.c 
Log Message:
Try to fix old hpux


Index: archive_endian.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive/archive_endian.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** archive_endian.h	30 Oct 2009 17:09:55 -0000	1.1
--- archive_endian.h	30 Oct 2009 22:07:45 -0000	1.2
***************
*** 46,50 ****
   * - Microsoft Visual C++ 6.0 (supposedly newer versions too)
   */
! #if defined(__WATCOMC__) || defined(__sgi)
  #define inline
  #elif defined(_MSC_VER)
--- 46,50 ----
   * - Microsoft Visual C++ 6.0 (supposedly newer versions too)
   */
! #if defined(__WATCOMC__) || defined(__sgi) || defined(__hpux)
  #define inline
  #elif defined(_MSC_VER)

Index: archive_read_support_format_tar.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive/archive_read_support_format_tar.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** archive_read_support_format_tar.c	30 Oct 2009 17:09:59 -0000	1.1
--- archive_read_support_format_tar.c	30 Oct 2009 22:07:45 -0000	1.2
***************
*** 774,778 ****
--- 774,782 ----
          p++;
      }
+ #ifdef __hpux
+     switch ((int)type & ~0777777) {
+ #else
      switch (type & ~0777777) {
+ #endif
      case 01000000:
          /* POSIX.1e ACL */



More information about the Cmake-commits mailing list