1 |
grobian 09/09/08 17:21:50 |
2 |
|
3 |
Modified: qsize.c |
4 |
Log: |
5 |
Add support for HPUX and FreeMiNT by Michael Haubenwallner and Alan Hourihane |
6 |
|
7 |
Revision Changes Path |
8 |
1.31 portage-utils/qsize.c |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/qsize.c?rev=1.31&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/qsize.c?rev=1.31&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/qsize.c?r1=1.30&r2=1.31 |
13 |
|
14 |
Index: qsize.c |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-projects/portage-utils/qsize.c,v |
17 |
retrieving revision 1.30 |
18 |
retrieving revision 1.31 |
19 |
diff -u -r1.30 -r1.31 |
20 |
--- qsize.c 24 Mar 2009 18:54:41 -0000 1.30 |
21 |
+++ qsize.c 8 Sep 2009 17:21:50 -0000 1.31 |
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/portage-utils/qsize.c,v 1.30 2009/03/24 18:54:41 grobian Exp $ |
27 |
+ * $Header: /var/cvsroot/gentoo-projects/portage-utils/qsize.c,v 1.31 2009/09/08 17:21:50 grobian Exp $ |
28 |
* |
29 |
* Copyright 2005-2007 Ned Ludd - <solar@g.o> |
30 |
* Copyright 2005-2007 Mike Frysinger - <vapier@g.o> |
31 |
@@ -32,7 +32,7 @@ |
32 |
"Ignore regexp string", |
33 |
COMMON_OPTS_HELP |
34 |
}; |
35 |
-static const char qsize_rcsid[] = "$Id: qsize.c,v 1.30 2009/03/24 18:54:41 grobian Exp $"; |
36 |
+static const char qsize_rcsid[] = "$Id: qsize.c,v 1.31 2009/09/08 17:21:50 grobian Exp $"; |
37 |
#define qsize_usage(ret) usage(ret, QSIZE_FLAGS, qsize_long_opts, qsize_opts_help, lookup_applet_idx("qsize")) |
38 |
|
39 |
#ifdef _AIX |
40 |
@@ -44,6 +44,10 @@ |
41 |
# define S_BLKSIZE S_BLOCK_SIZE |
42 |
#endif |
43 |
|
44 |
+#ifdef __hpux |
45 |
+# define S_BLKSIZE st.st_blksize |
46 |
+#endif |
47 |
+ |
48 |
int qsize_main(int argc, char **argv) |
49 |
{ |
50 |
DIR *dir, *dirp; |