Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
orangepi-xunlong
GitHub Repository: orangepi-xunlong/orangepi-build
Path: blob/next/external/packages/extras-buildpkgs/htop/debian/patches/780-fix-option-string.patch
8660 views
1
From 731acc8bced18c90fbe0e18381c32f007f71e0d9 Mon Sep 17 00:00:00 2001
2
From: Christian Hesse <[email protected]>
3
Date: Tue, 10 Apr 2018 16:21:46 +0200
4
Subject: [PATCH] fix option string
5
6
This broke with commit db05ba61065f64b59d0014518be0786b5439e54c.
7
---
8
htop.c | 2 +-
9
1 file changed, 1 insertion(+), 1 deletion(-)
10
11
diff --git a/htop.c b/htop.c
12
index 6db81dd7..678a3b8a 100644
13
--- a/htop.c
14
+++ b/htop.c
15
@@ -93,7 +93,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
16
17
int opt, opti=0;
18
/* Parse arguments */
19
- while ((opt = getopt_long(argc, argv, "hvCst::d:u:p:i", long_opts, &opti))) {
20
+ while ((opt = getopt_long(argc, argv, "hvCs:td:u:p:i", long_opts, &opti))) {
21
if (opt == EOF) break;
22
switch (opt) {
23
case 'h':
24
25