Make children set their own process group instead of waiting for their parent to do it for them

darcs-hash:20060203215031-ac50b-d00ce5c09b469edd968618a4bba4b5c1f7dc075c.gz
This commit is contained in:
axel
2006-02-04 07:50:31 +10:00
parent 7e3128f097
commit 3733fe3997
2 changed files with 23 additions and 36 deletions

View File

@@ -1130,7 +1130,7 @@ int parser_get_lineno()
if( !whole_str )
return -1;
for( i=0; i<current_tokenizer_pos; i++ )
for( i=0; i<current_tokenizer_pos && whole_str[i]; i++ )
{
if( whole_str[i] == L'\n' )
{