Fossil SCM
Modified the win/include/dirent.h file to #undef _DIRENT_HAVE_D_TYPE. With that define fossil tries to use info from opendir/readdir to detect symbolic links unsucessfully. By using undef we force fossil to go through a different route which successfully detects symbolic links.
Commit
db2128fa24cac46f8fed073a21dafcf076a56fee
Parent
44ded27f7cef176…
1 file changed
+1
+1
| --- win/include/dirent.h | ||
| +++ win/include/dirent.h | ||
| @@ -834,5 +834,6 @@ | ||
| 834 | 834 | #ifdef __cplusplus |
| 835 | 835 | } |
| 836 | 836 | #endif |
| 837 | 837 | #endif /*DIRENT_H*/ |
| 838 | 838 | |
| 839 | +#undef _DIRENT_HAVE_D_TYPE | |
| 839 | 840 |
| --- win/include/dirent.h | |
| +++ win/include/dirent.h | |
| @@ -834,5 +834,6 @@ | |
| 834 | #ifdef __cplusplus |
| 835 | } |
| 836 | #endif |
| 837 | #endif /*DIRENT_H*/ |
| 838 | |
| 839 |
| --- win/include/dirent.h | |
| +++ win/include/dirent.h | |
| @@ -834,5 +834,6 @@ | |
| 834 | #ifdef __cplusplus |
| 835 | } |
| 836 | #endif |
| 837 | #endif /*DIRENT_H*/ |
| 838 | |
| 839 | #undef _DIRENT_HAVE_D_TYPE |
| 840 |