mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
0dc94b8b3e
commit
65a61792a9
1 changed files with 1 additions and 1 deletions
2
dir.c
2
dir.c
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue