procmail
[Top] [All Lists]

Re: Procmail 3.11pre5 seg. faults on Solaris 2.5.1

1997-04-06 10:58:00
Lars Kellogg-Stedman <lars(_at_)it(_dot_)bu(_dot_)edu> writes:
I just finished compiling Procmail 3.11pre5 on my Solaris 2.5.1 machine.
It dies -- quickly -- with a segmentation fault.  This happened whether it
was compiled with gcc or with the standard Sun cc compiler.

It's a typo.  Apply the following patch and try again.

Philip Guenther


*** src/authenticate.c  1997/04/04 07:28:15     1.1.1.1
--- src/authenticate.c  1997/04/06 01:46:13
***************
*** 114,120 ****
  #else /* PROCMAIL */
  auth_identity*auth_newid P((void))
  { auth_identity*pass;
!   (pass=malloc(sizeof*pass))->pw=0;pass->mbox=0;
  }
  
  void auth_copyid(newpass,oldpass)auth_identity*newpass;
--- 114,120 ----
  #else /* PROCMAIL */
  auth_identity*auth_newid P((void))
  { auth_identity*pass;
!   (pass=malloc(sizeof*pass))->pw=0;pass->mbox=0;return pass;
  }
  
  void auth_copyid(newpass,oldpass)auth_identity*newpass;

<Prev in Thread] Current Thread [Next in Thread>