Changeset 526 for trunk/src/gmake/w32/pathstuff.c
- Timestamp:
- Sep 16, 2006, 4:37:51 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/w32/pathstuff.c
r520 r526 234 234 } 235 235 236 #undef stat 236 237 /* 237 238 * Workaround for directory names with trailing slashes. … … 239 240 */ 240 241 int 241 stat(const char *path, struct stat *st)242 { 243 int rc = _stat(path, (struct _stat *)st);242 my_stat(const char *path, struct stat *st) 243 { 244 int rc = stat(path, st); 244 245 if ( rc != 0 245 246 && errno == ENOENT … … 255 256 tmp[len_path + 1] = '\0'; 256 257 errno = 0; 257 rc = _stat(tmp, (struct _stat *)st);258 rc = stat(tmp, st); 258 259 if ( rc == 0 259 260 && !S_ISDIR(st->st_mode))
Note:
See TracChangeset
for help on using the changeset viewer.