This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: perror() changes the orientation of stderr to byte-oriented mode if stderr is not oriented yet.


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>

Attachment: 0001-Fix-newlib-functions-perror-psignal-not-to-use-write.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]