Author: delphij
Date: Fri May 1 22:43:26 2015
New Revision: 282329
URL: https://svnweb.freebsd.org/changeset/base/282329
Log:
Correct - handling.
Reported by: pkg-fallout
X-MFC-with: r282318
Modified:
head/usr.bin/soelim/soelim.c
Modified: head/usr.bin/soelim/soelim.c
==============================================================================
--- head/usr.bin/soelim/soelim.c Fri May 1 21:59:32 2015
(r282328)
+++ head/usr.bin/soelim/soelim.c Fri May 1 22:43:26 2015
(r282329)
@@ -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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"