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

Diff of /pax-utils/scanelf.c

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

Revision 1.182 Revision 1.183
1/* 1/*
2 * Copyright 2003-2007 Gentoo Foundation 2 * Copyright 2003-2007 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/scanelf.c,v 1.182 2007/06/29 18:48:47 solar Exp $ 4 * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.183 2007/06/29 19:49:26 solar Exp $
5 * 5 *
6 * Copyright 2003-2007 Ned Ludd - <solar@gentoo.org> 6 * Copyright 2003-2007 Ned Ludd - <solar@gentoo.org>
7 * Copyright 2004-2007 Mike Frysinger - <vapier@gentoo.org> 7 * Copyright 2004-2007 Mike Frysinger - <vapier@gentoo.org>
8 */ 8 */
9 9
10#include "paxinc.h" 10#include "paxinc.h"
11 11
12static const char *rcsid = "$Id: scanelf.c,v 1.182 2007/06/29 18:48:47 solar Exp $"; 12static const char *rcsid = "$Id: scanelf.c,v 1.183 2007/06/29 19:49:26 solar Exp $";
13#define argv0 "scanelf" 13#define argv0 "scanelf"
14 14
15#define IS_MODIFIER(c) (c == '%' || c == '#' || c == '+') 15#define IS_MODIFIER(c) (c == '%' || c == '#' || c == '+')
16 16
17/* prototypes */ 17/* prototypes */
1825 case 'b': show_bind = 1; break; 1825 case 'b': show_bind = 1; break;
1826 case 'S': show_soname = 1; break; 1826 case 'S': show_soname = 1; break;
1827 case 'T': show_textrels = 1; break; 1827 case 'T': show_textrels = 1; break;
1828 case 'q': be_quiet = 1; break; 1828 case 'q': be_quiet = 1; break;
1829 case 'v': be_verbose = (be_verbose % 20) + 1; break; 1829 case 'v': be_verbose = (be_verbose % 20) + 1; break;
1830 case 'a': show_perms = show_pax = show_phdr = show_textrel = show_rpath = show_bind = 1; break; 1830 case 'a': show_perms = show_pax = show_phdr = show_textrel = show_rpath = show_bind = show_endian = 1; break;
1831 case 'D': show_endian = 1; break; 1831 case 'D': show_endian = 1; break;
1832 case ':': 1832 case ':':
1833 err("Option '%c' is missing parameter", optopt); 1833 err("Option '%c' is missing parameter", optopt);
1834 case '?': 1834 case '?':
1835 err("Unknown option '%c' or argument missing", optopt); 1835 err("Unknown option '%c' or argument missing", optopt);

Legend:
Removed from v.1.182  
changed lines
  Added in v.1.183

  ViewVC Help
Powered by ViewVC 1.1.20