summaryrefslogtreecommitdiffstats
path: root/abs/extra/htop/htop.c.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-10-01 16:39:33 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-10-01 16:39:33 (GMT)
commitd85a54be874d653f47ab9c20d01b69e820b368db (patch)
tree0aa534105337cd7ab2ec254684f23f51ac72537b /abs/extra/htop/htop.c.patch
parentb9a07427a9567a8a0170724fba030c13e5114d20 (diff)
downloadlinhes_pkgbuild-d85a54be874d653f47ab9c20d01b69e820b368db.zip
linhes_pkgbuild-d85a54be874d653f47ab9c20d01b69e820b368db.tar.gz
linhes_pkgbuild-d85a54be874d653f47ab9c20d01b69e820b368db.tar.bz2
files that I forgot to add to to git.
Diffstat (limited to 'abs/extra/htop/htop.c.patch')
-rw-r--r--abs/extra/htop/htop.c.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/extra/htop/htop.c.patch b/abs/extra/htop/htop.c.patch
new file mode 100644
index 0000000..41a2dd3
--- /dev/null
+++ b/abs/extra/htop/htop.c.patch
@@ -0,0 +1,15 @@
+From: Roman Kosenko <madkite@gmail.com>
+Date: Thu, 10 Mar 2011 16:23:53 +0200
+Subject: [PATCH] Fix stupid bug with --sort-key
+
+--- htop.c.old 2010-11-24 20:45:38.000000000 +0200
++++ htop.c 2011-03-10 16:32:18.473716667 +0200
+@@ -282,7 +282,7 @@
+ printVersionFlag();
+ break;
+ case 's':
+- if (strcmp(optarg, "help")) {
++ if (!strcmp(optarg, "help")) {
+ for (int j = 1; j < LAST_PROCESSFIELD; j++)
+ printf ("%s\n", Process_fieldNames[j]);
+ exit(0);