perror() changes the orientation of stderr to byte-oriented mode if stderr is not oriented yet.
Takashi Yano
takashi.yano@nifty.ne.jp
Thu Jul 5 11:19:00 GMT 2018
Hi Corinna,
On Thu, 5 Jul 2018 11:08:51 +0200
Corinna Vinschen wrote:
> Ouch! I didn't realize that writev is not a required function on
> bare metal, sorry.
>
> Takashi, we need a patch to implement perror/psignal without writev, for
> instance by calling write twice. Care to send a followup patch?
Patch attached.
I am not sure whether _newlib_flockfile_start()/end() is necessary or not.
Could you please check?
--
Takashi Yano <takashi.yano@nifty.ne.jp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-newlib-functions-perror-psignal-not-to-use-write.patch
Type: application/octet-stream
Size: 3524 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20180705/11fc6392/attachment.obj>
More information about the Newlib
mailing list