/[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.20 Revision 1.21
1/* 1/*
2 * Copyright 2008 Gentoo Foundation 2 * Copyright 2008 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/scanmacho.c,v 1.20 2010/12/08 01:16:01 vapier Exp $ 4 * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanmacho.c,v 1.21 2010/12/08 01:24:01 vapier Exp $
5 * 5 *
6 * based on scanelf by: 6 * based on scanelf by:
7 * Copyright 2003-2007 Ned Ludd - <solar@gentoo.org> 7 * Copyright 2003-2007 Ned Ludd - <solar@gentoo.org>
8 * Copyright 2004-2007 Mike Frysinger - <vapier@gentoo.org> 8 * Copyright 2004-2007 Mike Frysinger - <vapier@gentoo.org>
9 * for Darwin specific fun: 9 * for Darwin specific fun:
10 * 2008-2010 Fabian Groffen - <grobian@gentoo.org> 10 * 2008-2010 Fabian Groffen - <grobian@gentoo.org>
11 */ 11 */
12 12
13static const char *rcsid = "$Id: scanmacho.c,v 1.20 2010/12/08 01:16:01 vapier Exp $"; 13static const char *rcsid = "$Id: scanmacho.c,v 1.21 2010/12/08 01:24:01 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 == '+')
528 {"help", no_argument, NULL, 'h'}, 528 {"help", no_argument, NULL, 'h'},
529 {"version", no_argument, NULL, 'V'}, 529 {"version", no_argument, NULL, 'V'},
530 {NULL, no_argument, NULL, 0x0} 530 {NULL, no_argument, NULL, 0x0}
531}; 531};
532 532
533static const char *opts_help[] = { 533static const char * const opts_help[] = {
534 "Scan all directories in PATH environment", 534 "Scan all directories in PATH environment",
535 "Scan directories recursively", 535 "Scan directories recursively",
536 "Don't recursively cross mount points", 536 "Don't recursively cross mount points",
537 "Don't scan symlinks", 537 "Don't scan symlinks",
538 "Scan archives (.a files)\n", 538 "Scan archives (.a files)\n",

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20