… | … | ||
---|---|---|---|
2569 | } | 2569 | } |
2570 | } | 2570 | } |
2571 | 2571 | ||
2572 | #endif | 2572 | #endif |
2573 | 2573 | ||
2574 | #ifdef _WIN32 | ||
2575 | # define EV_LSTAT(p,b) _stati64 (p, b) | ||
2576 | #else | ||
2577 | # define EV_LSTAT(p,b) lstat (p, b) | ||
2578 | #endif | ||
2579 | |||
2574 | void | 2580 | void |
2575 | ev_stat_stat (EV_P_ ev_stat *w) | 2581 | ev_stat_stat (EV_P_ ev_stat *w) |
2576 | { | 2582 | { |
2577 | if (lstat (w->path, &w->attr) < 0) | 2583 | if (lstat (w->path, &w->attr) < 0) |
2578 | w->attr.st_nlink = 0; | 2584 | w->attr.st_nlink = 0; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |