aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-08 12:56:56 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-08 12:56:56 +1000
commit690648e1b0a04db179d113e2900dde52d0e7f67f (patch)
treee06606ec232ce96c730433c2490be796c4e442f8 /exec.c
parentb33d3f78b1d3d1b5f9dbb9fbe9000fd6ab181cbb (diff)
Huge upade containing several bugfixes related to i18n, and a huge number of new translatable strings, including almost all description messages for command specific completions
darcs-hash:20060108025656-ac50b-e2309829a0afa6b3270d13814e9600d0fd372407.gz
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index 69baf8a9..ecd66947 100644
--- a/exec.c
+++ b/exec.c
@@ -1248,7 +1248,14 @@ int exec_subshell( const wchar_t *cmd,
wchar_t *el;
*end=0;
el = str2wcs( begin );
- al_push( l, el );
+ if( !el )
+ {
+ debug( 0, L"Subshell returned illegal string, discarded one entry" );
+ }
+ else
+ {
+ al_push( l, el );
+ }
begin = end+1;
break;
}