tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2f249a6436580bf9839f409f4c5f224e6b50eba2

commit 2f249a6436580bf9839f409f4c5f224e6b50eba2
Author: Tom Hacohen <[email protected]>
Date:   Wed Aug 27 11:48:14 2014 +0100

    Revert "ecore_getopt - fix possible null arg"
    
    Breaks getopt completely, try terminology --help.
    
    You committing it again doesn't fix the fact it doesn't work. :)
    
    This reverts commit e876ec527fd2cd89b01e61e34a9227f38357c25a.
---
 src/lib/ecore/ecore_getopt.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/lib/ecore/ecore_getopt.c b/src/lib/ecore/ecore_getopt.c
index d086a67..d242400 100644
--- a/src/lib/ecore/ecore_getopt.c
+++ b/src/lib/ecore/ecore_getopt.c
@@ -1708,9 +1708,7 @@ _ecore_getopt_parse_arg_long(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;
 

-- 


Reply via email to