From a08dcd570c9e0c8e4cc2c1d6f60547962bbde9ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= Date: Tue, 5 Dec 2023 15:01:21 +0100 Subject: [PATCH] add a patch with the -m option fix Fixes: 5c1fb571540d35dea1a2747d185c40b0f82f2530 --- 0002-recognize--m-option-correctly.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 0002-recognize--m-option-correctly.patch diff --git a/0002-recognize--m-option-correctly.patch b/0002-recognize--m-option-correctly.patch new file mode 100644 index 0000000..5a31816 --- /dev/null +++ b/0002-recognize--m-option-correctly.patch @@ -0,0 +1,19 @@ +commit cf6c2c029edc9c288122bcd603a72eb7f6d042d2 +Author: Jan Synacek +Date: Mon Oct 30 11:37:45 2017 +0100 + + recognize -m option correctly + +diff --git a/numad.c b/numad.c +index 4c85486..0721af4 100644 +--- a/numad.c ++++ b/numad.c +@@ -2395,7 +2395,7 @@ int main(int argc, char *argv[]) { + int x_flag = 0; + int tmp_int = 0; + long list_pid = 0; +- while ((opt = getopt(argc, argv, "C:dD:hH:i:K:l:p:r:R:S:t:u:vVw:x:")) != -1) { ++ while ((opt = getopt(argc, argv, "C:dD:hH:i:K:l:m:p:r:R:S:t:u:vVw:x:")) != -1) { + switch (opt) { + case 'C': + C_flag = 1;