FreeBSD Bugzilla – Attachment 89614 Details for
Bug 126590
[patch] Write routine called forever in Sample Echo Pseudo-Device Driver in Architecture Handbook
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 451 bytes, created by
Jacek Wikiera
on 2008-08-17 14:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Jacek Wikiera
Created:
2008-08-17 14:30:01 UTC
Size:
451 bytes
patch
obsolete
>--- driverbasics-char.html 2008-08-16 06:08:26.000000000 +0200 >+++ driverbasics-char_fix.html 2008-08-17 15:10:37.531250000 +0200 >@@ -200,6 +200,8 @@ > *(echomsg->msg + MIN(uio->uio_iov->iov_len, BUFFERSIZE - 1)) = 0; > echomsg->len = MIN(uio->uio_iov->iov_len, BUFFERSIZE); > >+ uio->uio_resid = 0; /* signall that all data is consumed */ >+ > if (err != 0) { > uprintf("Write failed: bad address!\n"); > }
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 126590
: 89614