Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-projects commit in pax-utils: macho.h paxmacho.c scanmacho.c
Date: Sun, 04 Apr 2010 10:03:37
Message-Id: E1NyMg1-0000M8-Ln@stork.gentoo.org
1 grobian 10/04/04 10:03:33
2
3 Modified: macho.h paxmacho.c scanmacho.c
4 Log:
5 update some copyrights, touch up some comments
6
7 Revision Changes Path
8 1.8 pax-utils/macho.h
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/macho.h?rev=1.8&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/macho.h?rev=1.8&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/macho.h?r1=1.7&r2=1.8
13
14 Index: macho.h
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-projects/pax-utils/macho.h,v
17 retrieving revision 1.7
18 retrieving revision 1.8
19 diff -u -r1.7 -r1.8
20 --- macho.h 30 Dec 2008 12:34:28 -0000 1.7
21 +++ macho.h 4 Apr 2010 10:03:33 -0000 1.8
22 @@ -1,7 +1,7 @@
23 /*
24 - * Copyright 2008 Gentoo Foundation
25 + * Copyright 2008-2010 Gentoo Foundation
26 * Distributed under the terms of the GNU General Public License v2
27 - * $Header: /var/cvsroot/gentoo-projects/pax-utils/macho.h,v 1.7 2008/12/30 12:34:28 vapier Exp $
28 + * $Header: /var/cvsroot/gentoo-projects/pax-utils/macho.h,v 1.8 2010/04/04 10:03:33 grobian Exp $
29 */
30
31 #ifndef _MACHO_H
32 @@ -156,8 +156,7 @@
33 symbols to the original source code files
34 from which the symbols were generated. */
35 #define LC_DYSYMTAB 0xb /* Specifies additional symbol table
36 - information used by the dynamic linker.
37 - */
38 + information used by the dynamic linker. */
39 #define LC_THREAD 0x4
40 #define LC_UNIXTHREAD 0x5 /* For an executable file, the LC_UNIXTHREAD
41 command defines the initial thread state
42 @@ -182,8 +181,7 @@
43 by the linker’s -init option). */
44 #define LC_ROUTINES_64 0x1a /* Contains the address of the shared
45 library 64-bit initialization routine
46 - (specified by the linker’s -init option).
47 - */
48 + (specified by the linker’s -init option). */
49 #define LC_TWOLEVEL_HINTS 0x16 /* Contains the two-level namespace
50 lookup hint table. */
51 #define LC_SUB_FRAMEWORK 0x12/* Identifies this file as the
52 @@ -204,8 +202,7 @@
53 another framework or bundle to link
54 against it by including an LC_SUB_CLIENT
55 load command containing the name of the
56 - framework or a client name for a bundle.
57 - */
58 + framework or a client name for a bundle. */
59
60 union lc_str
61 {
62
63
64
65 1.18 pax-utils/paxmacho.c
66
67 file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/paxmacho.c?rev=1.18&view=markup
68 plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/paxmacho.c?rev=1.18&content-type=text/plain
69 diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/paxmacho.c?r1=1.17&r2=1.18
70
71 Index: paxmacho.c
72 ===================================================================
73 RCS file: /var/cvsroot/gentoo-projects/pax-utils/paxmacho.c,v
74 retrieving revision 1.17
75 retrieving revision 1.18
76 diff -u -r1.17 -r1.18
77 --- paxmacho.c 15 Jan 2010 11:06:33 -0000 1.17
78 +++ paxmacho.c 4 Apr 2010 10:03:33 -0000 1.18
79 @@ -1,11 +1,11 @@
80 /*
81 * Copyright 2003-2008 Gentoo Foundation
82 * Distributed under the terms of the GNU General Public License v2
83 - * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxmacho.c,v 1.17 2010/01/15 11:06:33 vapier Exp $
84 + * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxmacho.c,v 1.18 2010/04/04 10:03:33 grobian Exp $
85 *
86 * Copyright 2005-2007 Ned Ludd - <solar@g.o>
87 * Copyright 2005-2007 Mike Frysinger - <vapier@g.o>
88 - * 2008 Fabian Groffen - <grobian@g.o>
89 + * 2008-2010 Fabian Groffen - <grobian@g.o>
90 */
91
92 #include "paxinc.h"
93 @@ -20,7 +20,6 @@
94 static const char *STR_ARM = "arm"; /* iPhone */
95 static const char *STR_UNKNOWN = "unknown";
96
97 -#define QUERY(n) { #n, n }
98 typedef struct {
99 const char *str;
100 int value;
101 @@ -36,6 +35,7 @@
102 }
103
104 /* translate misc mach-o MH_ defines */
105 +#define QUERY(n) { #n, n }
106 static pairtype macho_mh_type[] = {
107 QUERY(MH_OBJECT),
108 QUERY(MH_EXECUTE),
109
110
111
112 1.18 pax-utils/scanmacho.c
113
114 file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/scanmacho.c?rev=1.18&view=markup
115 plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/scanmacho.c?rev=1.18&content-type=text/plain
116 diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/scanmacho.c?r1=1.17&r2=1.18
117
118 Index: scanmacho.c
119 ===================================================================
120 RCS file: /var/cvsroot/gentoo-projects/pax-utils/scanmacho.c,v
121 retrieving revision 1.17
122 retrieving revision 1.18
123 diff -u -r1.17 -r1.18
124 --- scanmacho.c 15 Jan 2010 11:06:33 -0000 1.17
125 +++ scanmacho.c 4 Apr 2010 10:03:33 -0000 1.18
126 @@ -1,16 +1,16 @@
127 /*
128 * Copyright 2008 Gentoo Foundation
129 * Distributed under the terms of the GNU General Public License v2
130 - * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanmacho.c,v 1.17 2010/01/15 11:06:33 vapier Exp $
131 + * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanmacho.c,v 1.18 2010/04/04 10:03:33 grobian Exp $
132 *
133 * based on scanelf by:
134 * Copyright 2003-2007 Ned Ludd - <solar@g.o>
135 * Copyright 2004-2007 Mike Frysinger - <vapier@g.o>
136 * for Darwin specific fun:
137 - * 2008 Fabian Groffen - <grobian@g.o>
138 + * 2008-2010 Fabian Groffen - <grobian@g.o>
139 */
140
141 -static const char *rcsid = "$Id: scanmacho.c,v 1.17 2010/01/15 11:06:33 vapier Exp $";
142 +static const char *rcsid = "$Id: scanmacho.c,v 1.18 2010/04/04 10:03:33 grobian Exp $";
143 const char * const argv0 = "scanmacho";
144
145 #include "paxinc.h"