[BusyBox-cvs] busybox/procps ps.c,1.47,1.48

Erik Andersen andersen at codepoet.org
Thu Dec 5 07:24:09 UTC 2002


Update of /var/cvs/busybox/procps
In directory winder:/tmp/cvs-serv6515/procps

Modified Files:
	ps.c 
Log Message:
Kill CONFIG_FEATURE_USE_DEVPS_PATCH and the devps patch.  I'm not
maintaining it anymore, and it is now terribly out of date.
 -Erik


Index: ps.c
===================================================================
RCS file: /var/cvs/busybox/procps/ps.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- ps.c	22 Oct 2002 12:21:12 -0000	1.47
+++ ps.c	5 Dec 2002 07:24:06 -0000	1.48
@@ -20,12 +20,6 @@
  * Place, Suite 330, Boston, MA 02111-1307 USA
  */
 
-/*
- * This contains _two_ implementations of ps for Linux.  One uses the
- * traditional /proc virtual filesystem, and the other use the devps kernel
- * driver (written by Erik Andersen to avoid using /proc thereby saving 100k+).
- */
-
 #include <stdio.h>
 #include <stdlib.h>
[...91 lines suppressed...]
-			}
-			*(info.command_line+j) = '\0';
-			puts(info.command_line);
-		} else {
-			printf("[%s]\n", info.name);
-		}
-	}
-
-	/* Free memory */
-	free( pid_array);
-
-	/* close device */
-	if (close (fd) != 0) 
-		perror_msg_and_die("close failed for `%s'", device);
- 
-	exit (0);
-}
-
-#endif /* CONFIG_FEATURE_USE_DEVPS_PATCH */
 




More information about the busybox-cvs mailing list