/[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.271 Revision 1.272
1/* 1/*
2 * Copyright 2003-2012 Gentoo Foundation 2 * Copyright 2003-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/scanelf.c,v 1.271 2015/02/22 00:10:27 vapier Exp $ 4 * $Header: /var/cvsroot/gentoo-projects/pax-utils/Attic/scanelf.c,v 1.272 2015/02/22 00:54:34 vapier Exp $
5 * 5 *
6 * Copyright 2003-2012 Ned Ludd - <solar@gentoo.org> 6 * Copyright 2003-2012 Ned Ludd - <solar@gentoo.org>
7 * Copyright 2004-2012 Mike Frysinger - <vapier@gentoo.org> 7 * Copyright 2004-2012 Mike Frysinger - <vapier@gentoo.org>
8 */ 8 */
9 9
10static const char rcsid[] = "$Id: scanelf.c,v 1.271 2015/02/22 00:10:27 vapier Exp $"; 10static const char rcsid[] = "$Id: scanelf.c,v 1.272 2015/02/22 00:54:34 vapier Exp $";
11const char argv0[] = "scanelf"; 11const char argv0[] = "scanelf";
12 12
13#include "paxinc.h" 13#include "paxinc.h"
14 14
15#define IS_MODIFIER(c) (c == '%' || c == '#' || c == '+') 15#define IS_MODIFIER(c) (c == '%' || c == '#' || c == '+')
2168 opterr = 0; 2168 opterr = 0;
2169 while ((i=getopt_long(argc, argv, PARSE_FLAGS, long_opts, NULL)) != -1) { 2169 while ((i=getopt_long(argc, argv, PARSE_FLAGS, long_opts, NULL)) != -1) {
2170 switch (i) { 2170 switch (i) {
2171 2171
2172 case 'V': 2172 case 'V':
2173 printf("pax-utils-%s: %s compiled %s\n%s\n" 2173 printf("pax-utils-%s: %s\n%s\n"
2174 "%s written for Gentoo by <solar and vapier @ gentoo.org>\n", 2174 "%s written for Gentoo by <solar and vapier @ gentoo.org>\n",
2175 VERSION, __FILE__, __DATE__, rcsid, argv0); 2175 VERSION, __FILE__, rcsid, argv0);
2176 exit(EXIT_SUCCESS); 2176 exit(EXIT_SUCCESS);
2177 break; 2177 break;
2178 case 'h': usage(EXIT_SUCCESS); break; 2178 case 'h': usage(EXIT_SUCCESS); break;
2179 case 'f': 2179 case 'f':
2180 if (from_file) warn("You prob don't want to specify -f twice"); 2180 if (from_file) warn("You prob don't want to specify -f twice");

Legend:
Removed from v.1.271  
changed lines
  Added in v.1.272

  ViewVC Help
Powered by ViewVC 1.1.20