diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-09-05 01:44:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-09-05 01:44:20 +0000 |
commit | 65a61792a96f478cbf8ff90b8a09b8b555f4d5c1 (patch) | |
tree | 108b872cb6c38af6d4dd00eccc59d62bf6aac95a /dir.c | |
parent | 0dc94b8b3e6c9440c05f18387c7dc8207094d89a (diff) | |
download | ruby-65a61792a96f478cbf8ff90b8a09b8b555f4d5c1.tar.gz |
dir.c: enumm answer
* dir.c (enumm answer): remap NO and YES to false and true,
respectively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1260,7 +1260,7 @@ join_path(const char *path, int dirsep, const char *name) return buf; } -enum answer { YES, NO, UNKNOWN }; +enum answer {UNKNOWN = -1, NO, YES}; #ifndef S_ISDIR # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) |