/[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.254 Revision 1.255
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.254 2013/04/02 21:13:05 vapier Exp $ 4 * $Header: /var/cvsroot/gentoo-projects/pax-utils/Attic/scanelf.c,v 1.255 2013/04/02 21:15:50 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.254 2013/04/02 21:13:05 vapier Exp $"; 10static const char rcsid[] = "$Id: scanelf.c,v 1.255 2013/04/02 21:15:50 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 == '+')
1690 else 1690 else
1691 dir = fdopendir(subdir_fd); 1691 dir = fdopendir(subdir_fd);
1692 if (dir == NULL) { 1692 if (dir == NULL) {
1693 if (subdir_fd != -1) 1693 if (subdir_fd != -1)
1694 close(subdir_fd); 1694 close(subdir_fd);
1695 warnfp("could not opendir(%s)", path); 1695 else if (be_verbose > 2)
1696 printf("%s: skipping dir: %s\n", path, strerror(errno));
1696 return 1; 1697 return 1;
1697 } 1698 }
1698 if (be_verbose > 1) printf("%s: scanning dir\n", path); 1699 if (be_verbose > 1) printf("%s: scanning dir\n", path);
1699 1700
1700 subpath = stpcpy(buf, path); 1701 subpath = stpcpy(buf, path);

Legend:
Removed from v.1.254  
changed lines
  Added in v.1.255

  ViewVC Help
Powered by ViewVC 1.1.20