diff options
Diffstat (limited to 'patches/procps-3.2.8/10_top_uid_length.dpatch')
-rw-r--r-- | patches/procps-3.2.8/10_top_uid_length.dpatch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/procps-3.2.8/10_top_uid_length.dpatch b/patches/procps-3.2.8/10_top_uid_length.dpatch new file mode 100644 index 000000000..77befc5e2 --- /dev/null +++ b/patches/procps-3.2.8/10_top_uid_length.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_top_uid_length.dpatch by <csmall@debian.org> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Make the uid length 5 not 4 #426782 + +@DPATCH@ +diff -urNad procps-3.2.7~/top.c procps-3.2.7/top.c +--- procps-3.2.7~/top.c 2009-01-08 10:22:37.000000000 +1100 ++++ procps-3.2.7/top.c 2009-01-08 10:23:07.000000000 +1100 +@@ -1222,7 +1222,7 @@ + { "AaAa", " PID", " %5u", -1, -1, SF(PID), "Process Id", L_NONE }, + { "BbBb", " PPID", " %5u", -1, -1, SF(PPD), "Parent Process Pid", L_EITHER }, + { "CcQq", " RUSER ", " %-8.8s", -1, -1, SF(URR), "Real user name", L_RUSER }, +- { "DdCc", " UID", " %4u", -1, -1, SF(UID), "User Id", L_NONE }, ++ { "DdCc", " UID", " %5u", -1, -1, SF(UID), "User Id", L_NONE }, + { "EeDd", " USER ", " %-8.8s", -1, -1, SF(URE), "User Name", L_EUSER }, + { "FfNn", " GROUP ", " %-8.8s", -1, -1, SF(GRP), "Group Name", L_GROUP }, + { "GgGg", " TTY ", " %-8.8s", 8, -1, SF(TTY), "Controlling Tty", L_stat }, |