Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102636669
D40562.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
296 B
Referenced Files
None
Subscribers
None
D40562.diff
View Options
diff --git a/usr.bin/asa/asa.c b/usr.bin/asa/asa.c
--- a/usr.bin/asa/asa.c
+++ b/usr.bin/asa/asa.c
@@ -81,6 +81,9 @@
}
}
+ if (fflush(stdout) != 0)
+ err(1, "stdout");
+
exit(exval);
}
@@ -140,4 +143,7 @@
putchar('\n');
}
+
+ if (ferror(stdout) != 0)
+ err(1, "stdout");
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 3:53 AM (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14652763
Default Alt Text
D40562.diff (296 B)
Attached To
Mode
D40562: asa: Error out if writing to stdout failed.
Attached
Detach File
Event Timeline
Log In to Comment