check. find_in_path does this for us.
+2007-01-25 Dan Hipschman <dsh@linux.ucla.edu>
+
+ * src/sort.c (create_temp): Remove superfluous access-X_OK
+ check. find_in_path does this for us.
+
2007-01-24 Jim Meyering <jim@meyering.net>
Remove usually-skipped test.
const char *path_program = find_in_path (default_program);
if (path_program != default_program)
- {
- if (access (path_program, X_OK) == 0)
- compress_program = path_program;
- else
- free ((char *) path_program);
- }
+ compress_program = path_program;
}
else if (*compress_program == '\0')
compress_program = NULL;