The most recent tarball of hypermail (2.1.2) has a bug in the way the "latest" directory symlink is created when doing a folders_by_date archive...
It should create a directory symlink to the latest directory, not a file symlink to the latest index.html page. Linking to the latest index.html page makes local hyperlinks mess up when looking at other indexes that should be within "latest".
I've modified the code on my src/file.c to read as follows:
void symlink_latest()
{
char filename[MAXFILELEN];
char dirname[MAXFILELEN];
struct stat stbuf;
#if 0
trio_snprintf(filename, MAXFILELEN, "%s%s.%s",
set_dir, set_latest_folder, set_htmlsuffix);
trio_snprintf(dirname, MAXFILELEN, "%sindex.%s",
latest_folder_path, set_htmlsuffix);
trio_snprintf(filename, MAXFILELEN, "%s%s",
set_dir, set_latest_folder);
trio_snprintf(dirname, MAXFILELEN, "%s",
latest_folder_path);
The #if 0'ed code is wrong, and the #else code works correctly.
cheers, and thanks for the great utility,
David Received on Thu 21 Jun 2001 08:18:09 PM GMT
This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:53 PM GMT GMT