Correct - handling.
Reported by: pkg-fallout X-MFC-with: r282318
This commit is contained in:
parent
dde01df167
commit
6f32f49c02
@ -57,6 +57,9 @@ soelim_fopen(const char *name)
|
||||
char path[MAXPATHLEN];
|
||||
size_t i;
|
||||
|
||||
if (strcmp(name, "-") == 0)
|
||||
return (stdin);
|
||||
|
||||
if ((f = fopen(name, "r")) != NULL)
|
||||
return (f);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user