Uninitialized structure in printing functions

Corinna Vinschen vinschen@redhat.com
Wed Apr 26 08:24:00 GMT 2017


On Apr 21 19:03, Giacomo Tesio wrote:
> Hi, during the port to Jehanne, I had issues with the uninitialized
> uio structure in several printing functions.
> 
> The attached patch fixes them.

I'm puzzled what problem you're solving.

I inspected the code in question and the uio structure is always filled
with values for all three members before using it.  Setting uio to 0
in all these places looks gratuitous.

Can you please explain what exactly you're observing and how setting
uio to all 0 solved this problem?  


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20170426/e7eb4197/attachment.sig>


More information about the Newlib mailing list