name_exists = (stat(answer, &st) != -1);
full_answer = get_full_path(answer);
full_filename = get_full_path(openfile->filename);
- different_name = (strcmp((full_answer != NULL) ?
- full_answer : answer, (full_filename != NULL) ?
- full_filename : openfile->filename) != 0);
+ different_name = (strcmp((full_answer == NULL) ?
+ answer : full_answer, (full_filename == NULL) ?
+ openfile->filename : full_filename) != 0);
/* Convert nulls to newlines. answer_len is the
* string's real length. */