Hi, I just compiled the latest fcptools (from CVS) and here are the results : - everything compiles except fcpproxy (which is normal I think) - fcpput works with splitfiles but not with single files - fcpputsite doesn't work - fcpget crashes
In fact, there was a problem in fcpPutKeyFromFile.c : it opens files with '0' attributes but it must be 'O_BINARY' under windows. There was no problem with splitfiles because _fcpPutSplit.c defines and use a platform depent 'OPEN_FILE_MODE'. #ifdef WINDOWS #define OPEN_FILE_MODE (_O_RDONLY | _O_BINARY) #else #define OPEN_FILE_MODE 0 #endif I suggest you define 'OPEN_FILE_MODE' in compat.h and use it every time you open a file. PS : fcpget still doesn't work... Nels -- Benoit Laniel <nels at pgroupe.net> Public Key : 0x2E154E8C Fingerprint : 873C 7F46 C5B8 83FF 9FE0 02CE 9071 E7C2 2E15 4E8C _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
