FreeBSD Bugzilla – Attachment 17892 Details for
Bug 32350
libstand's write always returns 0 unless error.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 583 bytes, created by
Jonathan Mini
on 2001-11-28 13:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Jonathan Mini
Created:
2001-11-28 13:50:01 UTC
Size:
583 bytes
patch
obsolete
>Index: lib/libstand/write.c >=================================================================== >RCS file: /usr/FreeBSD/src/lib/libstand/write.c,v >retrieving revision 1.2 >diff -c -r1.2 write.c >*** lib/libstand/write.c 2001/09/30 22:28:01 1.2 >--- lib/libstand/write.c 2001/11/15 18:04:19 >*************** >*** 95,99 **** > resid = bcount; > if ((errno = (f->f_ops->fo_write)(f, dest, bcount, &resid))) > return (-1); >! return (0); > } >--- 97,101 ---- > resid = bcount; > if ((errno = (f->f_ops->fo_write)(f, dest, bcount, &resid))) > return (-1); >! return (bcount - resid); > }
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 32350
: 17892