Hi,
In a previous post I described a bug in the remailer stats download function
where newly downloaded pages were saved with a .t extension and then were
not being used by the program. I've recently had the opportunity to track
this down and fix it.
Beginning on line 205 of menustats.c is this code:
/* We got them all ok - so rename them to their correct names */
for (i=0; i<NUMFILES; i++) {
mixfile(path, localfiles[i]);
mixfile(path_t, localfiles[i]);
strcat(path_t, ".t");
rename(path_t, path);
}
I see the new pages are intentionally saved with the .t extension. The
problem I discovered was that since the original pages were still there the
call to rename failed. It failed on win32 anyway. I add an unlink to remove
the original file and the process completes successfully. If there is a
preferable function for deleting, let me know.
/* We got them all ok - so rename them to their correct names */
for (i=0; i<NUMFILES; i++) {
mixfile(path, localfiles[i]);
mixfile(path_t, localfiles[i]);
strcat(path_t, ".t");
unlink(path);
rename(path_t, path);
}
I know of no other problems and plan to release an update (3.0.2) in the
next few days.
Richard
------------------------------------------------------------------------------
_______________________________________________
Mixmaster-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixmaster-devel