version gcc 2.95.3
I have the following snippet
and the if test is failing, my problem is, I don't seem to be able to trap what values exist when it falls over.
if (!(seq_filename = (char *)getenv(SEQ_FILE)))
printf("before error_func %s\n", seq_filename);
/* printf("before error_func %s\n", (char *)getenv(SEQ_FILE)); */
"Environment variable SEQUENCE_FILE not set.",
SYS | FATAL);
I don't have access to gdb which is why I am using printf's at the mo
Could someone show me how to print the values of a
static char * seq_filename
#define SEQ_FILE "SEQUENCE_FILE"