🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Dave Hillman Thu, 28 Mar 1996 00:00
Re: SLRN: 0.8.7 released
#20221
Author: Dave Hillman
Date: Thu, 28 Mar 1996 00:00
28 lines
1523 bytes
On 27 Mar 1996, Alain Knaff wrote:

>  Another tidbit: In mime.c, the macro definition of isalnum lacked the
> backslashes at the end of its continued lines (this is around line
> 83).

   Is this why my slrn compiles blow up at mime.c on HPUX 10.01?  I made 
the following changes to mime.c, but this is apparently still not correct 
( it still fails miserably with various parse errors and other oddments ).

#ifndef isalnum
#define isalnum(x) \
  ((((x) <= 'Z') && ((x) >= 'A')) \	<- Added backslash
   || (((x) <= 'z') && ((x) >= 'a')) \ 	<- Added backslash
   || (((x) <= '9') && ((x) >= '0'))) 
#endif

pls advise,

--
 Dave Hillman
 New Boston Systems, Chicago
 david.hillman@cna.com 
 d-hillman@uchicago.edu     



Re: SLRN: 0.8.7 released
#20274
Author: John E. Davis
Date: Sat, 30 Mar 1996 00:00
31 lines
1760 bytes
On Thu, 28 Mar 1996 20:47:46 GMT, Dave Hillman <d-hillman@uchicago.edu>
wrote:
 :    Is this why my slrn compiles blow up at mime.c on HPUX 10.01?  I made 
 : the following changes to mime.c, but this is apparently still not correct 
 : ( it still fails miserably with various parse errors and other oddments ).
 : 
 : #ifndef isalnum
 : #define isalnum(x) \
 :   ((((x) <= 'Z') && ((x) >= 'A')) \	<- Added backslash
 :    || (((x) <= 'z') && ((x) >= 'a')) \ 	<- Added backslash
 :    || (((x) <= '9') && ((x) >= '0'))) 
 : #endif
 : 
 : pls advise,

You must make sire the the \ characters are the very last ones on the line--
they must not be followed by spaces or tabs.  In addition, slrn requires a
compiler that understands ANSI prototypes.  This may require compiling it
using, e.g., `cc -Aa'.  You can get this effect by doing (csh assumed):

   setenv CC cc
   setenv CFLAGS "-Aa -D_HPUX_SOURCE"
   rm *.cache
   ./configure   
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads