version 1.24, 2009/06/07 12:39:40 |
version 1.25, 2009/06/07 13:06:02 |
|
|
err(2, "error getting file status from %s", source_file); |
err(2, "error getting file status from %s", source_file); |
|
|
/* Regular file. */ |
/* Regular file. */ |
if (S_ISREG(sb.st_mode)) |
if (S_ISREG(sb.st_mode)) { |
|
close(ifd); |
return (NULL); |
return (NULL); |
|
} |
} else { |
} else { |
/* If ``-'' does not exist the user meant stdin. */ |
/* If ``-'' does not exist the user meant stdin. */ |
if (errno == ENOENT && strcmp(source_file, "-") == 0) |
if (errno == ENOENT && strcmp(source_file, "-") == 0) |