projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f35b5e3
)
Revert "ecore_getopt - handle if arg_val is null"
author
Tom Hacohen
<tom@stosb.com>
Fri, 22 Aug 2014 13:51:35 +0000
(14:51 +0100)
committer
Tom Hacohen
<tom@stosb.com>
Fri, 22 Aug 2014 13:51:35 +0000
(14:51 +0100)
This completely breaks getopt. Try running terminology --help.
This reverts commit
1bb6a8a4e4055c6fce2391012aae3c6984aa2302
.
src/lib/ecore/ecore_getopt.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore/ecore_getopt.c
b/src/lib/ecore/ecore_getopt.c
index e36445501cbfba52af0770a74630cc0cb250e3a1..b6d5149bd26b2ff5c58768b7bd15fef9c2934f5a 100644
(file)
--- a/
src/lib/ecore/ecore_getopt.c
+++ b/
src/lib/ecore/ecore_getopt.c
@@
-1788,9
+1788,7
@@
_ecore_getopt_parse_arg_short(const Ecore_Getopt *parser,
desc_idx = desc - parser->descs;
value = values + desc_idx;
- if (arg_val)
- ret = _ecore_getopt_desc_handle(parser, desc, value, arg_val);
- else ret = EINA_FALSE;
+ ret = _ecore_getopt_desc_handle(parser, desc, value, arg_val);
if ((!ret) && parser->strict)
return EINA_FALSE;
}