Y2K fix for 'elm' (Was: Re: How should NAT terminate ?)

From: Joseph S D Yao (jsdyat_private)
Date: Wed Jan 19 2000 - 14:48:39 PST

  • Next message: beldridgat_private: "Re: Open ports on FW1"

    On Mon, Jan 10, 2000 at 09:38:44PM +0100, Mikael Olsson wrote:
    > BTW, your copy of ELM has Y2K problems:
    > "Date: Sat, 8 Jan 100 01:04:08 +1100 (EST)"  *ahem* :-)
    >                   ^^^
    
    Known problem.  All too common.
    
    Solutions include:
    (1) switch to Mutt <URL: http://www.mutt.org/>
    (2) switch to newer version of 'elm' (2.5.2), losing all the mods that
        people have made to 2.4*
    (3) switch to Mutt, which has all of those capabilities and more.
    (4) modify lib/getarpdate.c:
    	char *
    	get_arpa_date()
    	{
    	...
    		if ((year = curr_tm.tm_year) < 100)
    			year += 1900;
        to read instead:
    		year = curr_tm.tm_year + 1900;
    (5) switch to Mutt
    (6) switch to Mutt
    
    [Can you guess which one I implemented for stubborn folks, and which
     one I did for myself?  ;-)]
    
    -- 
    Joe Yao				jsdyat_private - Joseph S. D. Yao
    COSPO/OSIS Computer Support					EMT-B
    -----------------------------------------------------------------------
    This message is not an official statement of COSPO policies.
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 13:58:38 PDT