Great Circle Associates Majordomo-Users
(June 2000)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Odd digest problem II - MJ's Revenge!
From: Joe Hartley <jh @ brainiac . com>
Date: Tue, 27 Jun 2000 13:50:39 -0400 (EDT)
To: dliston @ netscape . com (Dan Liston)
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: <39582467.234898DA@netscape.com> from "Dan Liston" at Jun 26, 2000 10:49:59 PM
Reply-to: jh @ brainiac . com

Dan Liston wrote:
> I recall seeing a post in this list (this year) about digests having
> this type of problem.  The solution was to edit the digest script and
> add the word sort somewhere, but you would have to check the archives to
> see where.  I just don't remember.

Many thanks for this clue!  By searching the archives I downloaded
from the ftp site on "sort" I finally found the fix:

---------------------
Patrick Boutilier wrote:
The fix was just a one liner on line 176 of digest.

Original line:   foreach (@files) {

Fixed line: foreach (sort @files) {

This fix sorts the files from lowest number to highest and therefore gets
all the messages properly. Not sure why this bug hasn't show up before but
it may have crept up on us because we are using a Reiser file system.
---------------------

It is *definitely* due to the Reiser filesystem!  This version of digest
has worked fine on all the Suns I've ever run it on, but this new Linux
box is running the Reiser fs, and needed the fix.

Thanks to both Dan and Patrick!!

-- 
======================================================================
       Joe Hartley - UNIX/network Consultant - jh@brainiac.com
     12 Emma G Lane, Narragansett, RI  02882 - vox 401.782.9042
Without deviation from the norm, "progress" is not possible. - FZappa




References:
Indexed By Date Previous: Re: Odd digest problem II - MJ's Revenge!
From: Joe Hartley <jh@brainiac.com>
Next: 550 World Writable directory
From: Liza Deatrick Peak <liza@bannister.com>
Indexed By Thread Previous: Re: Odd digest problem II - MJ's Revenge!
From: Joe Hartley <jh@brainiac.com>
Next: Re: Odd digest problem II - MJ's Revenge!
From: Mike Oliver <Mike.Oliver@eng.sun.com>

Google
 
Search Internet Search www.greatcircle.com