Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2009 05:20:13 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r201155 - head/lib/libarchive
Message-ID:  <200912290520.nBT5KDs9011635@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912290520.nBT5KDs9011635>