Reimplement writev to not access errno on success
authorAndrew Waterman <waterman@cs.berkeley.edu>
Mon, 22 Apr 2013 22:24:56 +0000 (15:24 -0700)
committerAndrew Waterman <waterman@cs.berkeley.edu>
Mon, 22 Apr 2013 22:24:56 +0000 (15:24 -0700)
commitfefc7262bdc1af04ed0723ebc97c8199a66fcd17
treee298449e67fe1bdfed1e5810e32493df41ddc544
parent506a5f68c248c7f5fd2408232f3e154f53019305
Reimplement writev to not access errno on success

Like the previous commit, this helps when debugging ld.so, since TLS may
not yet be initialized.
tools/compilers/gcc-glibc/glibc-2.14.1-ros/sysdeps/ros/writev.c