[BusyBox-cvs] busybox/libbb procps.c,1.8,1.9

Erik Andersen andersen at busybox.net
Sat Dec 20 07:26:13 UTC 2003


Update of /var/cvs/busybox/libbb
In directory nail:/tmp/cvs-serv4149/libbb

Modified Files:
	procps.c 
Log Message:
Try to accomodate systems that do not define PAGE_SHIFT


Index: procps.c
===================================================================
RCS file: /var/cvs/busybox/libbb/procps.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- procps.c	3 Jul 2003 10:07:01 -0000	1.8
+++ procps.c	20 Dec 2003 07:26:10 -0000	1.9
@@ -16,6 +16,10 @@
 
 #include "libbb.h"
 
+#ifndef
+#define PAGE_MASK		(~((getpagesize())-1))
+#endif
+
 extern procps_status_t * procps_scan(int save_user_arg0
 #ifdef CONFIG_SELINUX
 	, int use_selinux , security_id_t *sid




More information about the busybox-cvs mailing list