Subject: Pine 4.30

From: Don Newcomer <[email-masked]>
Date: Fri, 27 Oct 2000 16:28:08 -0400 (EDT)

I just built Pine 4.30 under Digital UNIX 4.0E and 4.0F.  For some reason,
both versions no longer see my global addressbooks.  If I go back to Pine
4.21 they magically reappear so there's nothing wrong with my config
files.  Anyone else run into this?

================================================================================
Don Newcomer                                            Dickinson College
Associate Director, System and Network Services		P.O. Box 1773
[email-masked]                                  Carlisle, PA  17013
                                                        Phone: (717) 245-1699
                                                          FAX: (717) 245-1690

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Steve Hubert <[email-masked]>
Date: Mon, 30 Oct 2000 11:17:49 -0800 (PST)

Don has found a bug. A configuration variable which is a list and which is
set _only_ in the fixed configuration file won't work. It will behave as
if it isn't set at all. If there is a non-NULL setting in the pine.conf
file, or the source code, or the personal config files, then things will
work correctly and the fixed setting will override those other settings. A
work-around is to also set it in the regular global configuration file,
/usr/local/lib/pine.conf. The source code fix is to change line 3342 of
.../pine/init.c from

        if(is_set[0] + is_set[1] + is_set[2] + is_set[3] > 0){
to
        if(is_set[0] + is_set[1] + is_set[2] + is_set[3] + is_set[4] > 0){

-- 
Steve Hubert <[email-masked]>
Networks and Distributed Computing, Univ. of Washington, Seattle