diff options
author | axel <axel@liljencrantz.se> | 2006-01-23 07:07:56 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-01-23 07:07:56 +1000 |
commit | 3e3541a05a4d76d76250d31368cb6d67fa248246 (patch) | |
tree | 23339e7748004c07af52c3fd170f5c99f71e8481 /env.c | |
parent | a824646d61e9b4c19d2661a9ba0eef1720106973 (diff) |
Add simple fallback implementation of seq command, installed automatically on systems which lack the regular seq command
darcs-hash:20060122210756-ac50b-f09a50f61137acef18f0d2be16e2556b2cdea921.gz
Diffstat (limited to 'env.c')
-rw-r--r-- | env.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 ) |