X-Git-Url: http://git.maemo.org/git/?p=busybox-power;a=blobdiff_plain;f=debian%2Fpatches%2Fps-accept-and-ignore-missing-options.patch;h=3dbf0cbfade8f4ae30e8eeb7e089fb63a0fc09de;hp=7869408d33cdf6b23b29f93ffafa680a2f2ace18;hb=2aa5f166dfea0044859b694d6c4fb9434f057e0e;hpb=d65c7b3aa64a1e63e5a370dc4a08393004988bab diff --git a/debian/patches/ps-accept-and-ignore-missing-options.patch b/debian/patches/ps-accept-and-ignore-missing-options.patch index 7869408..3dbf0cb 100644 --- a/debian/patches/ps-accept-and-ignore-missing-options.patch +++ b/debian/patches/ps-accept-and-ignore-missing-options.patch @@ -1,12 +1,10 @@ -Make "ps" accept (but ignore) all missing common options expected to be supported by "ps" -This is required to not break scripts which are using these options - -By Dennis Groenen - 2011-08-19 ---- +Make "ps" accept (but ignore) all missing common options expected to be +supported by "ps". +This is required to not break scripts which are using these options. --- a/procps/ps.c +++ b/procps/ps.c -@@ -645,7 +645,7 @@ int ps_main(int argc UNUSED_PARAM, char +@@ -663,7 +663,7 @@ int ps_main(int argc UNUSED_PARAM, char int w_count = 0; opt_complementary = "-:ww"; opts = getopt32(argv, IF_SELINUX("Z")IF_FEATURE_SHOW_THREADS("T")IF_FEATURE_PS_LONG("l") @@ -15,7 +13,7 @@ By Dennis Groenen - 2011-08-19 /* if w is given once, GNU ps sets the width to 132, * if w is given more than once, it is "unlimited" */ -@@ -660,7 +660,8 @@ int ps_main(int argc UNUSED_PARAM, char +@@ -678,7 +678,8 @@ int ps_main(int argc UNUSED_PARAM, char # else /* -w is not supported, only -Z and/or -T */ opt_complementary = "-";