Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140880197
D37346.id112866.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
383 B
Referenced Files
None
Subscribers
None
D37346.id112866.diff
View Options
diff --git a/usr.bin/ministat/ministat.c b/usr.bin/ministat/ministat.c
--- a/usr.bin/ministat/ministat.c
+++ b/usr.bin/ministat/ministat.c
@@ -643,7 +643,7 @@
for (i = 0; i < nds; i++) {
setfilenames[i] = argv[i];
if (!strcmp(argv[i], "-"))
- setfiles[0] = stdin;
+ setfiles[i] = stdin;
else
setfiles[i] = fopen(argv[i], "r");
if (setfiles[i] == NULL)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 30, 5:07 AM (5 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27376210
Default Alt Text
D37346.id112866.diff (383 B)
Attached To
Mode
D37346: stdin handling for ministat
Attached
Detach File
Event Timeline
Log In to Comment