/[gentoo-projects]/pax-utils/scanmacho.c
Gentoo

Diff of /pax-utils/scanmacho.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.24 Revision 1.25
1/* 1/*
2 * Copyright 2008-2012 Gentoo Foundation 2 * Copyright 2008-2012 Gentoo Foundation
3 * Distributed under the terms of the GNU General Public License v2 3 * Distributed under the terms of the GNU General Public License v2
4 * $Header: /var/cvsroot/gentoo-projects/pax-utils/Attic/scanmacho.c,v 1.24 2013/12/16 20:30:38 grobian Exp $ 4 * $Header: /var/cvsroot/gentoo-projects/pax-utils/Attic/scanmacho.c,v 1.25 2015/02/22 00:54:34 vapier Exp $
5 * 5 *
6 * based on scanelf by: 6 * based on scanelf by:
7 * Copyright 2003-2012 Ned Ludd - <solar@gentoo.org> 7 * Copyright 2003-2012 Ned Ludd - <solar@gentoo.org>
8 * Copyright 2004-2012 Mike Frysinger - <vapier@gentoo.org> 8 * Copyright 2004-2012 Mike Frysinger - <vapier@gentoo.org>
9 * for Darwin specific fun: 9 * for Darwin specific fun:
10 * 2008-2013 Fabian Groffen - <grobian@gentoo.org> 10 * 2008-2013 Fabian Groffen - <grobian@gentoo.org>
11 */ 11 */
12 12
13static const char rcsid[] = "$Id: scanmacho.c,v 1.24 2013/12/16 20:30:38 grobian Exp $"; 13static const char rcsid[] = "$Id: scanmacho.c,v 1.25 2015/02/22 00:54:34 vapier Exp $";
14const char argv0[] = "scanmacho"; 14const char argv0[] = "scanmacho";
15 15
16#include "paxinc.h" 16#include "paxinc.h"
17 17
18#define IS_MODIFIER(c) (c == '%' || c == '#' || c == '+') 18#define IS_MODIFIER(c) (c == '%' || c == '#' || c == '+')
628 opterr = 0; 628 opterr = 0;
629 while ((i = getopt_long(argc, argv, PARSE_FLAGS, long_opts, NULL)) != -1) { 629 while ((i = getopt_long(argc, argv, PARSE_FLAGS, long_opts, NULL)) != -1) {
630 switch (i) { 630 switch (i) {
631 631
632 case 'V': 632 case 'V':
633 printf("pax-utils-%s: %s compiled %s\n%s\n" 633 printf("pax-utils-%s: %s\n%s\n"
634 "%s written for Gentoo by <solar, vapier and grobian @ gentoo.org>\n", 634 "%s written for Gentoo by <solar, vapier and grobian @ gentoo.org>\n",
635 VERSION, __FILE__, __DATE__, rcsid, argv0); 635 VERSION, __FILE__, rcsid, argv0);
636 exit(EXIT_SUCCESS); 636 exit(EXIT_SUCCESS);
637 break; 637 break;
638 case 'h': usage(EXIT_SUCCESS); break; 638 case 'h': usage(EXIT_SUCCESS); break;
639 case 'f': 639 case 'f':
640 if (from_file) warn("You prob don't want to specify -f twice"); 640 if (from_file) warn("You prob don't want to specify -f twice");

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.20