diff options
author | 2006-08-01 10:24:11 +1000 | |
---|---|---|
committer | 2006-08-01 10:24:11 +1000 | |
commit | 03f6656af67e93063ff0954d972105a9b24ff4f8 (patch) | |
tree | c6ae0c5df0acaad5b705be364156395f223e929c /builtin_set.c | |
parent | 8e6dbe245c714c5dda24bd862049d9003ad1daa2 (diff) |
Use S_IS* macros instead of S_IF*, which are non-posix
darcs-hash:20060801002411-ac50b-e5afcbfe4adfc54333c982b43309091c1cbcc1c9.gz
Diffstat (limited to 'builtin_set.c')
-rw-r--r-- | builtin_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin_set.c b/builtin_set.c index 15f009ef..882f24e1 100644 --- a/builtin_set.c +++ b/builtin_set.c @@ -81,7 +81,7 @@ static int my_env_set( const wchar_t *key, array_list_t *val, int scope ) show_perror = 1; } - if( !( S_IFDIR & buff.st_mode ) ) + if( !( S_ISDIR(buff.st_mode) ) ) { error = 1; |