FreeBSD Bugzilla – Attachment 10 Details for
Bug 64
strip does not close all files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 802 bytes, created by
jc
on 1994-12-17 11:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
jc
Created:
1994-12-17 11:40:01 UTC
Size:
802 bytes
patch
obsolete
>*** strip.c.orig Sat Dec 17 14:31:23 1994 >--- strip.c Sat Dec 17 14:32:16 1994 >*************** >*** 99,108 **** >--- 99,112 ---- > if ((fd = open(fn, O_RDWR)) < 0 || > (nb = read(fd, &head, sizeof(EXEC))) == -1) { > err(0, "%s: %s", fn, strerror(errno)); >+ if (close(fd)) >+ err(0, "%s: %s", fn, strerror(errno)); > continue; > } > if (nb != sizeof(EXEC) || N_BADMAG(head)) { > err(0, "%s: %s", fn, strerror(EFTYPE)); >+ if (close(fd)) >+ err(0, "%s: %s", fn, strerror(errno)); > continue; > } > sfcn(fn, fd, &head);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 64
: 10