Blame 0102-activate-fix-crash-when-s-is-passed.patch
|
|
6cb7994 |
From 3a1149687f87d649102d7bd9219fc9acfb3418e6 Mon Sep 17 00:00:00 2001
|
|
|
6cb7994 |
From: =?UTF-8?q?Mantas=20Mikul=C4=97nas?= <grawity@gmail.com>
|
|
|
6cb7994 |
Date: Wed, 13 Nov 2013 13:36:16 +0200
|
|
|
6cb7994 |
Subject: [PATCH] activate: fix crash when -s is passed
|
|
|
6cb7994 |
|
|
|
6cb7994 |
getopt_long() was told to accept -s which was never implemented.
|
|
|
6cb7994 |
---
|
|
|
6cb7994 |
src/activate/activate.c | 2 +-
|
|
|
6cb7994 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
6cb7994 |
|
|
|
6cb7994 |
diff --git a/src/activate/activate.c b/src/activate/activate.c
|
|
|
6cb7994 |
index a24c66a..da93dbf 100644
|
|
|
6cb7994 |
--- a/src/activate/activate.c
|
|
|
6cb7994 |
+++ b/src/activate/activate.c
|
|
|
6cb7994 |
@@ -347,7 +347,7 @@ static int parse_argv(int argc, char *argv[]) {
|
|
|
6cb7994 |
assert(argc >= 0);
|
|
|
6cb7994 |
assert(argv);
|
|
|
6cb7994 |
|
|
|
6cb7994 |
- while ((c = getopt_long(argc, argv, "+hl:saE:", options, NULL)) >= 0)
|
|
|
6cb7994 |
+ while ((c = getopt_long(argc, argv, "+hl:aE:", options, NULL)) >= 0)
|
|
|
6cb7994 |
switch(c) {
|
|
|
6cb7994 |
case 'h':
|
|
|
6cb7994 |
help();
|