diff options
author | Jay Freeman <saurik@saurik.com> | 2008-01-21 01:59:41 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-01-21 01:59:41 +0000 |
commit | eed03c5c1e733c39c97ce7761f696a7970ed2086 (patch) | |
tree | 59778b13eafd6385ab787cb11b88ed8200df7030 /data/psmisc/getline.diff | |
parent | f1b662bacaed63f6eb0774dda7be0fd78ad19054 (diff) |
Removed psmisc as it uses /proc.
git-svn-id: http://svn.telesphoreo.org/trunk@14 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/psmisc/getline.diff')
-rw-r--r-- | data/psmisc/getline.diff | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/data/psmisc/getline.diff b/data/psmisc/getline.diff deleted file mode 100644 index 9b2b3d44d..000000000 --- a/data/psmisc/getline.diff +++ /dev/null @@ -1,32 +0,0 @@ -diff -r -u psmisc-22.6/src/killall.c psmisc-22.6+iPhone/src/killall.c ---- psmisc-22.6/src/killall.c 2007-06-03 10:58:09.000000000 +0000 -+++ psmisc-22.6+iPhone/src/killall.c 2007-12-27 13:28:53.000000000 +0000 -@@ -64,9 +64,8 @@ - { - int res; - size_t len; -- char *line; -+ char line[1024]; - -- line = NULL; - len = 0; - - do { -@@ -79,16 +78,14 @@ - - fflush (stdout); - -- if (getline (&line, &len, stdin) < 0) -+ if (fgets(line, sizeof(line), stdin) == NULL) - return 0; - /* Check for default */ - if (line[0] == '\n') { -- free(line); - return 0; - } - res = rpmatch(line); - if (res >= 0) { -- free(line); - return res; - } - } while(1); |