changeset 1460 | af54d33facd0 |
parent 1459 | d76eff4ed71d |
child 1531 | 9f92c0edde1c |
1459:d76eff4ed71d | 1460:af54d33facd0 |
---|---|
133 { |
133 { |
134 int fd; |
134 int fd; |
135 struct stat buf; |
135 struct stat buf; |
136 |
136 |
137 #ifdef __CYGWIN__ |
137 #ifdef __CYGWIN__ |
138 // Permission checking isn't efficent on Cygwin |
138 // Permission checking isn't efficient on Cygwin |
139 return 0; |
139 return 0; |
140 #endif |
140 #endif |
141 |
141 |
142 fd = stat(name, &buf); |
142 fd = stat(name, &buf); |
143 if (fd == -1) return -1; |
143 if (fd == -1) return -1; |