svn commit: r201155 - head/lib/libarchive

Tim Kientzle kientzle at FreeBSD.org
Tue Dec 29 05:20:13 UTC 2009


Author: kientzle
Date: Tue Dec 29 05:20:12 2009
New Revision: 201155
URL: http://svn.freebsd.org/changeset/base/201155

Log:
  64-bit ino support and discourage bad use of this header.

Modified:
  head/lib/libarchive/archive_write_private.h

Modified: head/lib/libarchive/archive_write_private.h
==============================================================================
--- head/lib/libarchive/archive_write_private.h	Tue Dec 29 04:34:39 2009	(r201154)
+++ head/lib/libarchive/archive_write_private.h	Tue Dec 29 05:20:12 2009	(r201155)
@@ -25,6 +25,10 @@
  * $FreeBSD$
  */
 
+#ifndef __LIBARCHIVE_BUILD
+#error This header is only to be used internally to libarchive.
+#endif
+
 #ifndef ARCHIVE_WRITE_PRIVATE_H_INCLUDED
 #define	ARCHIVE_WRITE_PRIVATE_H_INCLUDED
 
@@ -37,7 +41,7 @@ struct archive_write {
 
 	/* Dev/ino of the archive being written. */
 	dev_t		  skip_file_dev;
-	ino_t		  skip_file_ino;
+	int64_t		  skip_file_ino;
 
 	/* Utility:  Pointer to a block of nulls. */
 	const unsigned char	*nulls;


More information about the svn-src-head mailing list