Re: svn commit: r191586 - head/lib/libarchive

2009-04-29 Thread peterjeremy
On 2009-Apr-27 19:14:43 +, Tim Kientzle wrote: > ino_t varies across platforms; casting (int) here avoids > various pointless complaints. ... >+ if ((int)archive_entry_ino(entry) > 077) { But if ino_t is larger than int then truncating it to int will lead to false negatives here.

svn commit: r191586 - head/lib/libarchive

2009-04-27 Thread Tim Kientzle
Author: kientzle Date: Mon Apr 27 19:14:43 2009 New Revision: 191586 URL: http://svn.freebsd.org/changeset/base/191586 Log: ino_t varies across platforms; casting (int) here avoids various pointless complaints. Modified: head/lib/libarchive/archive_write_set_format_cpio.c Modified: head/li