what does 9013 have that 9005 lacks
Steve DeJarnett
steve at qe2.uucp
Tue May 8 11:06:11 AEST 1990
In article <1990May7.172832.11722 at edm.uucp> geoff at edm.uucp (Geoff Coleman) writes:
> Overall I'm quite pleased with the 6000. I've moved over cnews,
>and vn with no problem (except that cron setup is brain dead). I
>moved over smail 3.1 with only a few problems (awk doesn't like "if ( !dummy )
>and if a string is defined as char *dummy="string" it segment violates if you
>try to change a charter in dummy).
The problem where modifying dummy causes a Segmentation violation is
due to ANSI C, I suspect. ANSI C says that you can't change any part of a
string constant (or words to that effect). If you want to get around this,
change the definition/declaration from char *dummy="string" to
char dummy[]="string". Not much difference, but just enough for ANSI.
>Geoff Coleman
Steve DeJarnett Internal: steve at ibmpa.tcspa.ibm.com
IBM AWD Palo Alto UUCP: ibmsupt!ibmpa!steve at uunet.uu.net
(415) 855-3510 These opinions are my own. I doubt IBM wants them.......
More information about the Comp.unix.aix
mailing list