Deleted Added
full compact
cmdline.c (303975) cmdline.c (305313)
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: releng/11.0/contrib/libarchive/cpio/cmdline.c 299529 2016-05-12 10:16:16Z mm $");
29__FBSDID("$FreeBSD: releng/11.0/contrib/libarchive/cpio/cmdline.c 305313 2016-09-03 00:27:41Z mm $");
30
31#ifdef HAVE_ERRNO_H
32#include <errno.h>
33#endif
34#ifdef HAVE_GRP_H
35#include <grp.h>
36#endif
37#ifdef HAVE_PWD_H

--- 20 unchanged lines hidden (view full) ---

58 */
59static const struct option {
60 const char *name;
61 int required; /* 1 if this option requires an argument */
62 int equivalent; /* Equivalent short option. */
63} cpio_longopts[] = {
64 { "b64encode", 0, OPTION_B64ENCODE },
65 { "create", 0, 'o' },
30
31#ifdef HAVE_ERRNO_H
32#include <errno.h>
33#endif
34#ifdef HAVE_GRP_H
35#include <grp.h>
36#endif
37#ifdef HAVE_PWD_H

--- 20 unchanged lines hidden (view full) ---

58 */
59static const struct option {
60 const char *name;
61 int required; /* 1 if this option requires an argument */
62 int equivalent; /* Equivalent short option. */
63} cpio_longopts[] = {
64 { "b64encode", 0, OPTION_B64ENCODE },
65 { "create", 0, 'o' },
66 { "dereference", 0, 'L' },
66 { "dot", 0, 'V' },
67 { "extract", 0, 'i' },
68 { "file", 1, 'F' },
69 { "format", 1, 'H' },
70 { "grzip", 0, OPTION_GRZIP },
71 { "help", 0, 'h' },
72 { "insecure", 0, OPTION_INSECURE },
73 { "link", 0, 'l' },

--- 307 unchanged lines hidden ---
67 { "dot", 0, 'V' },
68 { "extract", 0, 'i' },
69 { "file", 1, 'F' },
70 { "format", 1, 'H' },
71 { "grzip", 0, OPTION_GRZIP },
72 { "help", 0, 'h' },
73 { "insecure", 0, OPTION_INSECURE },
74 { "link", 0, 'l' },

--- 307 unchanged lines hidden ---