FreeBSD Bugzilla – Attachment 7138 Details for
Bug 15690
savecore fails to work when it doesn't find the block-device
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 506 bytes, created by
assar
on 1999-12-25 19:50:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
assar
Created:
1999-12-25 19:50:00 UTC
Size:
506 bytes
patch
obsolete
>Index: savecore.c >=================================================================== >RCS file: /home/ncvs/src/sbin/savecore/savecore.c,v >retrieving revision 1.28 >diff -u -w -u -w -r1.28 savecore.c >--- savecore.c 1999/12/21 07:41:07 1.28 >+++ savecore.c 1999/12/25 19:37:04 >@@ -383,7 +383,7 @@ > rawp = rawname(ddname); > if ((ifd = open(rawp, O_RDONLY)) == -1) { > syslog(LOG_WARNING, "%s: %m; using block device", rawp); >- ifd = dumpfd; >+ ifd = dup(dumpfd); > } > > /* Seek to the start of the core. */
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 15690
:
7137
| 7138