Subject: 3.90 startup buglet

From: [email-masked] (Rick Macklem)
Date: 27 Apr 1995 21:20:21 GMT

Sometimes pine 3.90 loops (actually repeatedly segmentation faults) when
started up from an rlogin session to a NetBSD 1.0 system. The problem is
that init_signals() is called before config_screen() in pine/pine.c and if
a SIGWINCH is posted between the two calls, the ttyo pointer isn't set up.\

Although there are several ways to fix this, the following one line change
does the trick. (I couldn't see a bugs email address in the doc, so I am
posting it here...)

rick
--- diff -c pine/signals.c ---
*** signals.c.bak	Tue Apr 25 16:03:52 1995
--- signals.c	Tue Apr 25 16:34:57 1995
***************
*** 306,312 ****
  {
      dprint(9,(debugfile, "SIGWINCH ready_for_winch: %d winch_occured:%d\n",
                 ready_for_winch, winch_occured));
!     get_windsize(ps_global->ttyo);
      if(ready_for_winch)
        longjmp(winch_state, 1);
      else
--- 306,313 ----
  {
      dprint(9,(debugfile, "SIGWINCH ready_for_winch: %d winch_occured:%d\n",
                 ready_for_winch, winch_occured));
!     if (ps_global->ttyo)
!       get_windsize(ps_global->ttyo);
      if(ready_for_winch)
        longjmp(winch_state, 1);
      else

---

From: David L Miller <[email-masked]>
Date: Fri, 28 Apr 1995 11:49:13 -0700 (PDT)

Signal handling is better in Pine 3.91 and will be cleaned up much more in
Pine 3.92... 

|\ |  |\/|  David L. Miller    [email-masked]  (206) 685-6240
|/ |_ |  |  Software Engineer, Pine Development Team   (206) 685-4045 (FAX)
University of Washington, Networks & Distributed Computing, JE-20
4545 15th Ave NE, Seattle WA 98105, USA

On 27 Apr 1995, Rick Macklem wrote:

> Date: 27 Apr 1995 21:20:21 GMT
> From: Rick Macklem <[email-masked]>
> To: [email-masked]
> Subject: 3.90 startup buglet
>