/[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.112 Revision 1.113
1/* 1/*
2 * Copyright 2003-2006 Gentoo Foundation 2 * Copyright 2003-2006 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.112 2006/01/24 00:30:36 vapier Exp $ 4 * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.113 2006/01/24 00:31:58 vapier Exp $
5 * 5 *
6 * Copyright 2003-2006 Ned Ludd - <solar@gentoo.org> 6 * Copyright 2003-2006 Ned Ludd - <solar@gentoo.org>
7 * Copyright 2004-2006 Mike Frysinger - <vapier@gentoo.org> 7 * Copyright 2004-2006 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.112 2006/01/24 00:30:36 vapier Exp $"; 12static const char *rcsid = "$Id: scanelf.c,v 1.113 2006/01/24 00:31:58 vapier Exp $";
13#define argv0 "scanelf" 13#define argv0 "scanelf"
14 14
15#define IS_MODIFIER(c) (c == '%' || c == '#') 15#define IS_MODIFIER(c) (c == '%' || c == '#')
16 16
17 17
1398 case 'q': be_quiet = 1; break; 1398 case 'q': be_quiet = 1; break;
1399 case 'v': be_verbose = (be_verbose % 20) + 1; break; 1399 case 'v': be_verbose = (be_verbose % 20) + 1; break;
1400 case 'a': show_pax = show_phdr = show_textrel = show_rpath = show_bind = 1; break; 1400 case 'a': show_pax = show_phdr = show_textrel = show_rpath = show_bind = 1; break;
1401 1401
1402 case ':': 1402 case ':':
1403 err("Option missing parameter\n"); 1403 err("Option '%c' is missing parameter", optopt);
1404 case '?': 1404 case '?':
1405 err("Unknown option\n"); 1405 err("Unknown option '%c'", optopt);
1406 default: 1406 default:
1407 err("Unhandled option '%c'", i); 1407 err("Unhandled option '%c'; please report this", i);
1408 } 1408 }
1409 } 1409 }
1410 1410
1411 /* let the format option override all other options */ 1411 /* let the format option override all other options */
1412 if (out_format) { 1412 if (out_format) {

Legend:
Removed from v.1.112  
changed lines
  Added in v.1.113

  ViewVC Help
Powered by ViewVC 1.1.20