/[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.162 Revision 1.163
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.162 2006/11/28 04:01:04 vapier Exp $ 4 * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.163 2006/12/01 15:41:23 solar 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.162 2006/11/28 04:01:04 vapier Exp $"; 12static const char *rcsid = "$Id: scanelf.c,v 1.163 2006/12/01 15:41:23 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#define do_state(option, flag) \ 17#define do_state(option, flag) \
1849{ 1849{
1850 qa_textrels = get_split_env("QA_TEXTRELS"); 1850 qa_textrels = get_split_env("QA_TEXTRELS");
1851 qa_execstack = get_split_env("QA_EXECSTACK"); 1851 qa_execstack = get_split_env("QA_EXECSTACK");
1852 qa_wx_load = get_split_env("QA_WX_LOAD"); 1852 qa_wx_load = get_split_env("QA_WX_LOAD");
1853} 1853}
1854
1854#ifdef __PAX_UTILS_CLEANUP 1855#ifdef __PAX_UTILS_CLEANUP
1855static void cleanup() 1856static void cleanup()
1856{ 1857{
1857 free(out_format); 1858 free(out_format);
1858 free(qa_textrels); 1859 free(qa_textrels);
1859 free(qa_execstack); 1860 free(qa_execstack);
1860 free(qa_wx_load); 1861 free(qa_wx_load);
1861} 1862}
1862#endif 1863#endif
1863
1864 1864
1865 1865
1866int main(int argc, char *argv[]) 1866int main(int argc, char *argv[])
1867{ 1867{
1868 if (argc < 2) 1868 if (argc < 2)

Legend:
Removed from v.1.162  
changed lines
  Added in v.1.163

  ViewVC Help
Powered by ViewVC 1.1.20