[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DDD 3.1.6 (rs6000-ibm-aix4.2.0.0) gets "Segmentation fault" signa l
From: |
tscheresky |
Subject: |
DDD 3.1.6 (rs6000-ibm-aix4.2.0.0) gets "Segmentation fault" signa l |
Date: |
Sat, 10 Mar 2001 16:35:46 -0700 |
This is causing me great heartburn.
char *name = getlogin();
if ( name != NULL ) <-- causes a segmentation fault
if ( name != (char*)NULL ) <-- doesn't cause a segmentation fault
And then if I define "-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE", and
then the first incarnation is acceptable.
However, ddd is very nice product and thank you for all you have done.
Thanks... Todd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- DDD 3.1.6 (rs6000-ibm-aix4.2.0.0) gets "Segmentation fault" signa l,
tscheresky <=