Subject: pine -create_lu

From: Don Newcomer <[email-masked]>
Date: Fri, 22 Aug 2003 15:32:47 -0400 (EDT)

We just migrated to a new HP Alpha box running Tru64 UNIX 5.1B.  I've
compiled Pine 4.56 and it's working fine except for creating auxiliary
indexes for global addressbooks.  Whenever I use "pine -create_lu", I get
"Segmentation fault (core dumped)".  It creates the .lu file but it's not
sorted at all.  Are there any known problems with this option?

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

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

---

From: Eduardo Chappa <[email-masked]>
Date: Mon, 25 Aug 2003 11:50:51 -0700 (PDT)

*** Don Newcomer ([email-masked]) wrote in the pine-info list on...:

:) We just migrated to a new HP Alpha box running Tru64 UNIX 5.1B.  I've
:) compiled Pine 4.56 and it's working fine except for creating auxiliary
:) indexes for global addressbooks.  Whenever I use "pine -create_lu", I
:) get "Segmentation fault (core dumped)".  It creates the .lu file but
:) it's not sorted at all.  Are there any known problems with this option?

Dear Don,

  You are right, there is a bug. The problem is that a collator function
is left undefined in Pine until after Pine analyzes the arguments that it
was given. A patch that fixes this bug (in a bad, but effective way) can
be found in my web page. I am sure somebody will come up with a better
solution than this patch.

  You can download the patch from my web page, address below.

Eduardo
http://www.math.washington.edu/~chappa/pine/

---

From: Don Newcomer <[email-masked]>
Date: Tue, 26 Aug 2003 08:40:09 -0400 (EDT)

Eduardo, I looked at your web page and it's not obvious which patch I
should use.  Could you give me a hint?  Thanks.

                                                Don

---

From: Eduardo Chappa <[email-masked]>
Date: Tue, 26 Aug 2003 09:14:50 -0700 (PDT)

*** Don Newcomer ([email-masked]) wrote in the pine-info list today:

:) Eduardo, I looked at your web page and it's not obvious which patch I
:) should use.  Could you give me a hint?  Thanks.

Oops, Sorry. The direct link is:

http://www.math.washington.edu/~chappa/pine/info/create_lu.html

I hope this works for you.

Eduardo