From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 30-MAY-1991 20:59:16.91
To:	ARISIA::EVERHART
CC:	
Subj:	Re: Important TESTED patch for dxrn/mxrn (part 2)

From:	RELAY-INFO-VAX@CRVAX.SRI.COM@SMTP@CRDGW2
To:	Everhart@Arisia@MRGATE

Received:  by crdgw1.ge.com (5.57/GE 1.99)
	 id AA19694; Thu, 30 May 91 20:19:54 EDT
Received: From ucbvax.Berkeley.EDU ([128.32.133.1]) by CRVAX.SRI.COM with TCP; Thu, 30 MAY 91 10:59:34 PDT
Received: by ucbvax.Berkeley.EDU (5.63/1.42)
	id AA24706; Thu, 30 May 91 10:46:37 -0700
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-vax@kl.sri.com (info-vax@kl.sri.com)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 30 May 91 17:43:33 GMT
From: cis.ohio-state.edu!zaphod.mps.ohio-state.edu!hobbes.physics.uiowa.edu!maverick.ksu.ksu.edu!deimos.cis.ksu.edu!mccall!tp@ucbvax.Berkeley.EDU
Organization: The McCall Pattern Co., Manhattan, KS, USA
Subject: Re: Important TESTED patch for dxrn/mxrn (part 2)
Message-Id: <1991May30.114333.1008@mccall.com>
References: <1991May24.082757@mccall.com>
Sender: info-vax-request@kl.sri.com
To: info-vax@kl.sri.com

>In article <1991May24.082757@mccall.com>, tp@mccall.com (Terry Poot) writes:
>> Sorry about the last one, this patch produces RFC822 compatible dates as 
>> best I can tell, and hopefully this will statisfy C news.

*Sigh*. I'm sorry, but I did it again. I just haven't had the time to put
into this to be careful about it. Anyway, my fix does work, but the patch I
posted was the version before the correct version. It won't work at all.
(Obviously, not too many people have applied the patch yet, because the
person that called my attention to it eyeballed it, and doesn't run
dxrn/mxrn himself.)

Anyway, here is a very short patch to fix dxrn/mxrn once and for all. Apply
this one AFTER my previous patch. I'm not going to post the whole big mess
to 4 newsgroups again. The first patch is useless without this one, apply
both in sequence to get a working version of dxrn/mxrn that will
interoperate with C news.


*** LSRC:[DXRN]COMPOSE.C;4
--- compose.c
**************
*** 2427,2434
          atime = asctime(localtime(&clockTime));
          tz = getenv(TIMEZONE_ENV);
      }
!     sprintf(gendate, "%3s, %2s %3s %2s %8s %s", atime, atime+8, atime+22, 
!         atime+11, tz);
      return(gendate);
  }
  #endif
--- 2427,2434 -----
          atime = asctime(localtime(&clockTime));
          tz = getenv(TIMEZONE_ENV);
      }
!     sprintf(gendate, "%.3s, %.2s %.3s %.2s %.8s %s", atime, atime+8, atime+4, 
!         atime+22, atime+11, tz);
      return(gendate);
  }
  #endif


-- 
Terry Poot <tp@mccall.com>                   The McCall Pattern Company
(uucp: ...!rutgers!ksuvax1!deimos!mccall!tp) 615 McCall Road
(800)255-2762, in KS (913)776-4041           Manhattan, KS 66502, USA

