Add simple fallback implementation of seq command, installed automatically on systems which lack the regular seq command

darcs-hash:20060122210756-ac50b-f09a50f61137acef18f0d2be16e2556b2cdea921.gz
This commit is contained in:
axel
2006-01-23 07:07:56 +10:00
parent a824646d61
commit 3e3541a05a
5 changed files with 50 additions and 10 deletions

5
env.c
View File

@@ -432,7 +432,7 @@ static void setup_path()
sb_destroy( &b );
al_foreach( &l, &free );
al_foreach( &l, (void (*)(const void *))&free );
path = env_get( L"PATH" );
al_truncate( &l, 0 );
expand_variable_array( path, &l );
@@ -740,7 +740,8 @@ void env_set( const wchar_t *key,
else
{
/*
New variable with unspecified scope. The default scope is the innermost scope that is shadowing
New variable with unspecified scope. The default
scope is the innermost scope that is shadowing
*/
node = top;
while( node->next && !node->new_scope )