Correct - handling.

Reported by:	pkg-fallout
X-MFC-with:	r282318
This commit is contained in:
delphij 2015-05-01 22:43:26 +00:00
parent 600aae1ef8
commit ffdc60a5ea

View File

@ -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);