Great Circle Associates Majordomo-Workers
(February 1995)
 

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

Subject: Patches for Majordomo-1.93 (wrapper & resend)
From: Gavin . Longmuir @ anu . edu . au (Gavin K. Longmuir)
Date: Tue, 14 Feb 1995 14:32:15 +1000
To: majordomo-users @ greatcircle . com, majordomo-workers @ greatcircle . com

I have just gone to majordomo version 1.93. But I have found that their
were some patches which didn't make the 1.93 distribution and I belive
should be included in future versions of majordomo.

One patch is to wrapper.c; to fix the timezone problem (this has been
posted to the majordomo-workers list before).

The other patch is to resend; to filter out additional request-receipt
headers on messages sent to a list.

Here are the context diffs based on the raw 1.93 code.


% diff -c wrapper.c.bak wrapper.c

*** wrapper.c.bak       Tue Feb 14 14:08:51 1995
--- wrapper.c   Tue Feb 14 11:54:41 1995
***************
*** 35,40 ****
--- 35,42 ----
  #  define SHELL "SHELL=/bin/csh"
  #endif

+ #define TZ "GMT+10"
+
  char * new_env[] = {
      HOME,             /* 0 */
      PATH,             /* 1 */
***************
*** 87,92 ****
--- 89,95 ----

      for (i = 0 ; env[i] != NULL ; i++) {
        if ((strncmp(env[i], "USER=", 5) == 0) ||
+               (strncmp(env[i], "TZ=", 3) == 0) ||
                (strncmp(env[i], "LOGNAME=", 8) == 0)) {
            new_env[e++] = env[i];
        }



% diff -c resend.bak resend

*** resend.bak  Tue Feb 14 14:04:23 1995
--- resend      Tue Feb 14 14:04:23 1995
***************
*** 193,198 ****
--- 193,200 ----
                || /^return-receipt-to:/i
                || /^errors-to:/i
                || /^return-path:/i
+                 || /^x-confirm-reading-to:/i
+                 || /^x-pmrqc:/i
                || (/^reply-to:/i && defined($opt_r))   # skip only if "-r" set
                || (/^precedence:/i && defined($opt_p)) # skip only if "-p" set
                || (/^received:/i && defined($opt_R))   # skip only if "-R" set



Gavin.

--
       *                            Gavin Longmuir - Dog's Body and Programmer
    *    *              Demography Program, Research School of Social Sciences
       *              Australian National University, Canberra 0200, AUSTRALIA
 Voice: +61 6 249 0530  FAX: +61 6 249 3031  E-Mail: Gavin.Longmuir@anu.edu.au
      *                            http://coombs.anu.edu.au/~gavin/.gavin.html



Indexed By Date Previous: Re: questions...
From: "Michael J. Corrigan" <corrigan@ucsd.edu>
Next: Problem with TimeZone ...
From: Djun Kim <djun@math.ubc.ca>
Indexed By Thread Previous: Re: help request
From: mclr@inforamp.net (Robert Appel)
Next: Problem with TimeZone ...
From: Djun Kim <djun@math.ubc.ca>

Google
 
Search Internet Search www.greatcircle.com