Great Circle Associates Majordomo-Workers
(July 1996)
 

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

Subject: Bug report.
From: "Christopher R. Hertel" <crh @ ruby . nts . umn . edu>
Date: Tue, 16 Jul 1996 16:02:56 -0500
To: majordomo-workers @ greatcircle . com

This is a quick bug report for version 1.93 and 1.94a5(?) of Majordomo.

1.93:  Under both SGI Irix 5.3 and SunOS 4.1.4, I got a compiler error
       at line 65 in wrapper.c.  Under Irix only, I got an error at
line
       99.  Here are the fixes:

$ diff wrapper.c wrapper.c.new
65c65
<     if (STRCHR(argv[1], '/') != (char *) NULL) {
---
>     if( NULL != STRCHR(argv[1], '/') ) {
99c99
<     char setgroups_used = "setgroups_was_included"; /* give strings a
hint */
---
>     char *setgroups_used = "setgroups_was_included"; /* give strings
a hint */

1.94:  SGI bundles perl with IRIX 5.3.  Somehow, they messed up the
version information.  Eg.:

  $ perl -v

  This is perl, version 4.0

  $RCSfile: perl.c,v $$Revision: 1.1 $$Date: 1993/05/14 18:36:10 $
  Patch level: 36

  Copyright (c) 1989, 1990, 1991, Larry Wall

  Perl may be copied only under the terms of either the Artistic
License
  or the GNU General Public License, which may be found in the Perl 4.0
  source kit.

  $ perl -e 'print $]+0'
  4

Running the same series of commands on our SunOS machine returns:

  $ perl -v

  This is perl, version 4.0

  $RCSfile: perl.c,v $$Revision: 4.0.1.8 $$Date: 1993/02/05 19:39:30 $
  Patch level: 36

  Copyright (c) 1989, 1990, 1991, Larry Wall

  Perl may be copied only under the terms of either the Artistic
License
  or the GNU General Public License, which may be found in the Perl 4.0
  source kit.

  $ perl -e 'print $]+0'
  4.0359999999999995879

Because of the version number is reported as 4 under Irix, Majordomo
"dies" with a complaint that the Perl version is too old.  The critical
line is in majordomo.cf.

I did manage to get 1.94 to run under Irix.  I was able to send it
'help' and 'list' commands, and I received valid responses.
 Unforunately, I also received back error messages from the Mailer
Daemon.  These reported that the function &shlock:warn did not exist.
 I pulled in a few Perl users (I am new to Perl), and they said that
&warn should be defined in shlock.pl or one of the required modules.
 We were not able to find it.

I hope this is helpful!

Chris Hertel -)-----

-- 
Christopher R. Hertel -)-----                    University of Minnesota
crh@nts.umn.edu               Networking and Telecommunications Services

Indexed By Date Previous: [no subject]
From: rocio@iies.es (Rocio Alonso)
Next: Out of memory???!!!!
From: Rocio Alonso <rocio@iies.es>
Indexed By Thread Previous: [no subject]
From: rocio@iies.es (Rocio Alonso)
Next: Out of memory???!!!!
From: Rocio Alonso <rocio@iies.es>

Google
 
Search Internet Search www.greatcircle.com