1 |
vapier 08/12/30 12:30:53 |
2 |
|
3 |
Modified: porting.h paxinc.h |
4 |
Log: |
5 |
tweak style slightly to make source tests happy |
6 |
|
7 |
Revision Changes Path |
8 |
1.36 pax-utils/porting.h |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.36&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?rev=1.36&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/porting.h?r1=1.35&r2=1.36 |
13 |
|
14 |
Index: porting.h |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v |
17 |
retrieving revision 1.35 |
18 |
retrieving revision 1.36 |
19 |
diff -u -r1.35 -r1.36 |
20 |
--- porting.h 16 Nov 2008 20:54:45 -0000 1.35 |
21 |
+++ porting.h 30 Dec 2008 12:30:52 -0000 1.36 |
22 |
@@ -1,7 +1,7 @@ |
23 |
/* |
24 |
* Copyright 2005-2007 Gentoo Foundation |
25 |
* Distributed under the terms of the GNU General Public License v2 |
26 |
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.35 2008/11/16 20:54:45 vapier Exp $ |
27 |
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/porting.h,v 1.36 2008/12/30 12:30:52 vapier Exp $ |
28 |
* |
29 |
* Copyright 2005-2007 Ned Ludd - <solar@g.o> |
30 |
* Copyright 2005-2007 Mike Frysinger - <vapier@g.o> |
31 |
@@ -108,9 +108,9 @@ |
32 |
# endif |
33 |
#endif |
34 |
|
35 |
-#if !defined(_POSIX_PATH_MAX) && !defined(PATH_MAX) |
36 |
+#if !defined(_POSIX_PATH_MAX) && !defined(PATH_MAX) /* __PAX_UTILS_PATH_MAX */ |
37 |
# define __PAX_UTILS_PATH_MAX 8192 |
38 |
-#elif _POSIX_PATH_MAX > PATH_MAX |
39 |
+#elif _POSIX_PATH_MAX > PATH_MAX /* __PAX_UTILS_PATH_MAX */ |
40 |
# define __PAX_UTILS_PATH_MAX _POSIX_PATH_MAX |
41 |
#else |
42 |
# define __PAX_UTILS_PATH_MAX PATH_MAX |
43 |
|
44 |
|
45 |
|
46 |
1.13 pax-utils/paxinc.h |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/paxinc.h?rev=1.13&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/paxinc.h?rev=1.13&content-type=text/plain |
50 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/paxinc.h?r1=1.12&r2=1.13 |
51 |
|
52 |
Index: paxinc.h |
53 |
=================================================================== |
54 |
RCS file: /var/cvsroot/gentoo-projects/pax-utils/paxinc.h,v |
55 |
retrieving revision 1.12 |
56 |
retrieving revision 1.13 |
57 |
diff -u -r1.12 -r1.13 |
58 |
--- paxinc.h 19 Oct 2008 18:55:33 -0000 1.12 |
59 |
+++ paxinc.h 30 Dec 2008 12:30:52 -0000 1.13 |
60 |
@@ -1,7 +1,7 @@ |
61 |
/* |
62 |
* Copyright 2005-2007 Gentoo Foundation |
63 |
* Distributed under the terms of the GNU General Public License v2 |
64 |
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxinc.h,v 1.12 2008/10/19 18:55:33 grobian Exp $ |
65 |
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxinc.h,v 1.13 2008/12/30 12:30:52 vapier Exp $ |
66 |
* |
67 |
* Copyright 2005-2007 Ned Ludd - <solar@g.o> |
68 |
* Copyright 2005-2007 Mike Frysinger - <vapier@g.o> |
69 |
@@ -74,7 +74,7 @@ |
70 |
} else if (sizeof(X) == 2) { __res = bswap_16((X)); \ |
71 |
} else if (sizeof(X) == 4) { __res = bswap_32((X)); \ |
72 |
} else if (sizeof(X) == 8) { __res = bswap_64((X)); \ |
73 |
- } else { errf("EGET failed ;( (sizeof(X) == %i)", (int)sizeof(X)); } \ |
74 |
+ } else { errf("EGET failed :( (sizeof(X) == %i)", (int)sizeof(X)); } \ |
75 |
__res; \ |
76 |
})) |
77 |
|
78 |
@@ -86,7 +86,7 @@ |
79 |
} else if (sizeof(Y) == 2) { Y = bswap_16((uint16_t)(X)); \ |
80 |
} else if (sizeof(Y) == 4) { Y = bswap_32((uint32_t)(X)); \ |
81 |
} else if (sizeof(Y) == 8) { Y = bswap_64((uint64_t)(X)); \ |
82 |
- } else { errf("ESET failed ;( (size(Y) == %i)", (int)sizeof(Y)); } \ |
83 |
+ } else { errf("ESET failed :( (size(Y) == %i)", (int)sizeof(Y)); } \ |
84 |
} while (0) |
85 |
|
86 |
/* helper functions for showing errors */ |