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.

sdr 2014-09-24 04:08 winsymlink
Commit db2128fa24cac46f8fed073a21dafcf076a56fee
1 file changed +1
--- win/include/dirent.h
+++ win/include/dirent.h
@@ -834,5 +834,6 @@
834834
#ifdef __cplusplus
835835
}
836836
#endif
837837
#endif /*DIRENT_H*/
838838
839
+#undef _DIRENT_HAVE_D_TYPE
839840
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button