![]()
From: Peter C. McCluskey (pcm@rahul.net)
Date: Thu Apr 26 2001 - 19:24:23 CDT
pgf@pgf.org ("Paul G. Fitzgerald") writes:
>On another note... If I use the -u command line option with the
>folder_by_date rc file option on a new archive (no messages have been
>converted by hypermail yet), I get the following error:
>
>hypermail: set_folder_by_date error old msg 0 num_from_gdbm -1
>
>Is this by design? It used to work fine. If hypermail found that there were
>no messages yet, it would start a new archive.
It's sort of intentional, but obviously not thought out well enough yet.
You need to run hypermail once for the archive without -u to initialize
the gdbm file before using -u and folder_by_date together.
If you don't have an appropriate mbox to use the first time, get the new
version of hypermail.c (from cvs) that I just checked in, and use an empty
file as the mbox.
The reason for the requiring the archive be initialized without -u is the
with folder_by_date, it becomes impractical to look through the directory
to see what messages are already there. I don't want to assume the absence
of a gdbm file means that it is a new archive because some people will
probably turn on usegdbm after starting an archive. Possibly I should try
checking that the directory contains no files, and allowing the -u option
with folder_by_date and no gdbm file under that circumstance. I will think
about that some more.
------------------------------------------------------------------------------
Peter McCluskey | Fed up with democracy's problems? Examine Futarchy:
http://www.rahul.net/pcm | http://hanson.gmu.edu/futarchy.pdf or .ps
![]()