Mike Ralphson schrieb:
2008/5/7 Brandon Casey [off-list ref]:
quoted
How about something like this?
diff --git a/compat/fopen.c b/compat/fopen.c
index ccb9e89..70b0d4d 100644
--- a/compat/fopen.c
+++ b/compat/fopen.c
@@ -1,5 +1,5 @@
+#undef FREAD_READS_DIRECTORIES
#include "../git-compat-util.h"
-#undef fopen
FILE *git_fopen(const char *path, const char *mode)
{
FILE *fp;
-brandon
Ta. I still get all the warnings with that, was that what you were
trying to solve? The 64 bit specific tests in t5302 do still pass.
You should get one less warning (the one from compat/fopen.c), but this
time they *are* harmless. ;)
-- Hannes