cpio.c (299896) | cpio.c (302075) |
---|---|
1/*- 2 * Copyright (c) 2003-2007 Tim Kientzle 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27 28#include "cpio_platform.h" | 1/*- 2 * Copyright (c) 2003-2007 Tim Kientzle 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27 28#include "cpio_platform.h" |
29__FBSDID("$FreeBSD: head/contrib/libarchive/cpio/cpio.c 299896 2016-05-16 05:01:44Z mm $"); | 29__FBSDID("$FreeBSD: head/contrib/libarchive/cpio/cpio.c 302075 2016-06-22 07:49:59Z mm $"); |
30 31#include <sys/types.h> 32#include <archive.h> 33#include <archive_entry.h> 34 35#ifdef HAVE_SYS_MKDEV_H 36#include <sys/mkdev.h> 37#endif --- 455 unchanged lines hidden (view full) --- 493 putchar(*p); 494 } 495 version(); 496} 497 498static void 499version(void) 500{ | 30 31#include <sys/types.h> 32#include <archive.h> 33#include <archive_entry.h> 34 35#ifdef HAVE_SYS_MKDEV_H 36#include <sys/mkdev.h> 37#endif --- 455 unchanged lines hidden (view full) --- 493 putchar(*p); 494 } 495 version(); 496} 497 498static void 499version(void) 500{ |
501 fprintf(stdout,"bsdcpio %s -- %s\n", | 501 fprintf(stdout,"bsdcpio %s - %s\n", |
502 BSDCPIO_VERSION_STRING, 503 archive_version_details()); 504 exit(0); 505} 506 507static void 508mode_out(struct cpio *cpio) 509{ --- 962 unchanged lines hidden --- | 502 BSDCPIO_VERSION_STRING, 503 archive_version_details()); 504 exit(0); 505} 506 507static void 508mode_out(struct cpio *cpio) 509{ --- 962 unchanged lines hidden --- |