RE: [hypermail] RC File Options

From: Peter C. McCluskey <pcm_at_rahul.net_at_hypermail-project.org>
Date: Thu, 26 Apr 2001 17:24:23 -0700 (PDT)
Message-Id: <20010427002423.1FCB81DB8_at_foxtrot.rahul.net>

 pgf_at_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 Received on Fri 27 Apr 2001 02:27:08 AM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:53 PM GMT GMT