[PATCH][MSP430] Fix return code error in simulator implemenations of write.c.
Martin Young
martin.y@somniumtech.com
Fri May 26 07:50:00 GMT 2017
Hello,
In the MSP430 simulator implementation of write() in write.c the wrong
local is used as the return code (it's returning the result of the
last invocation of write_chunk() (variable c) rather than the
aggregate write size (variable rv). This causes issues for users of
write().
Patch included as attachment to avoid whitespace issues.
I do do not have the ability to apply patch this myself.
Regards,
-Martin.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rc.patch
Type: application/octet-stream
Size: 687 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20170526/a1577b19/attachment.obj>
More information about the Newlib
mailing list