Deleted Added
full compact
ar.c (289071) ar.c (295577)
1/*-
2 * Copyright (c) 2007 Kai Wang
3 * Copyright (c) 2007 Tim Kientzle
4 * Copyright (c) 2007 Joseph Koshy
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

67#include <libgen.h>
68#include <stdio.h>
69#include <stdlib.h>
70#include <stdint.h>
71#include <string.h>
72
73#include "ar.h"
74
1/*-
2 * Copyright (c) 2007 Kai Wang
3 * Copyright (c) 2007 Tim Kientzle
4 * Copyright (c) 2007 Joseph Koshy
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

67#include <libgen.h>
68#include <stdio.h>
69#include <stdlib.h>
70#include <stdint.h>
71#include <string.h>
72
73#include "ar.h"
74
75ELFTC_VCSID("$Id: ar.c 3243 2015-08-31 19:28:45Z emaste $");
75ELFTC_VCSID("$Id: ar.c 3319 2016-01-13 21:37:53Z jkoshy $");
76
77enum options
78{
79 OPTION_HELP
80};
81
82static struct option longopts[] =
83{

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

402 -u Conditionally update or extract members.\n\
403 -v Be verbose.\n\
404 -z (This option is accepted, but is ignored).\n\
405 -C Do not overwrite existing files in the file system.\n\
406 -D Use fixed metadata, for consistent archive checksums.\n\
407 -F FORMAT | --flavor=FORMAT\n\
408 Create archives with the specified format.\n\
409 -S Do not generate an archive symbol table.\n\
76
77enum options
78{
79 OPTION_HELP
80};
81
82static struct option longopts[] =
83{

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

402 -u Conditionally update or extract members.\n\
403 -v Be verbose.\n\
404 -z (This option is accepted, but is ignored).\n\
405 -C Do not overwrite existing files in the file system.\n\
406 -D Use fixed metadata, for consistent archive checksums.\n\
407 -F FORMAT | --flavor=FORMAT\n\
408 Create archives with the specified format.\n\
409 -S Do not generate an archive symbol table.\n\
410 -U Use original metadata, for unique archive checksums.\n"
410 -U Use original metadata for archive members.\n"
411
412static void
413bsdar_usage(void)
414{
415 (void) fprintf(stderr, AR_USAGE_MESSAGE, ELFTC_GETPROGNAME());
416 exit(EXIT_FAILURE);
417}
418

--- 23 unchanged lines hidden ---
411
412static void
413bsdar_usage(void)
414{
415 (void) fprintf(stderr, AR_USAGE_MESSAGE, ELFTC_GETPROGNAME());
416 exit(EXIT_FAILURE);
417}
418

--- 23 unchanged lines hidden ---