Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160946275
D21376.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
369 B
Referenced Files
None
Subscribers
None
D21376.id.diff
View Options
Index: head/bin/dd/dd.c
===================================================================
--- head/bin/dd/dd.c
+++ head/bin/dd/dd.c
@@ -124,7 +124,8 @@
* descriptor explicitly so that the summary handler (called
* from an atexit() hook) includes this work.
*/
- close(out.fd);
+ if (close(out.fd) == -1 && errno != EINTR)
+ err(1, "close");
exit(0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jun 30, 8:18 AM (6 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34422778
Default Alt Text
D21376.id.diff (369 B)
Attached To
Mode
D21376: dd: Check result of close(2) for errors
Attached
Detach File
Event Timeline
Log In to Comment