diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-07 23:35:41 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-07 23:35:41 -0800 |
commit | 5f686ebb478b461c3044261a84fc347072c1ff07 (patch) | |
tree | b362f4609c405cd62e734ef926ee6dc92df5a66b /complete.cpp | |
parent | 6a31457c6d764425f8039a6159e92b5f84a2a0c5 (diff) |
Clean up exec_subshell, removing al_list from it
Diffstat (limited to 'complete.cpp')
-rw-r--r-- | complete.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/complete.cpp b/complete.cpp index c1ac911f..0f18db6b 100644 --- a/complete.cpp +++ b/complete.cpp @@ -270,7 +270,7 @@ static int condition_test( const wchar_t *condition ) if (test_res == CC_NOT_TESTED ) { - test_res = exec_subshell( condition, 0 )?CC_FALSE:CC_TRUE; + test_res = exec_subshell( condition)?CC_FALSE:CC_TRUE; hash_put( condition_cache, condition, test_res ); /* @@ -946,7 +946,7 @@ static void complete_cmd_desc( const wchar_t *cmd, std::vector<completion_t> &co since apropos is only called once. */ wcstring_list_t list; - if( exec_subshell2( lookup_cmd, list ) != -1 ) + if( exec_subshell( lookup_cmd, list ) != -1 ) { /* |