Fix racy bug in sbrk() (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 1 Dec 2016 18:22:46 +0000 (13:22 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 7 Dec 2016 22:46:48 +0000 (14:46 -0800)
commit17060c66ff19603b17ab8485fc81dd0546be15d1
treeb47d1573ec9f2ef6228d80b068001bdef3dfd282
parent70897e30bf0a48f5e71e0f94751d7b53411b6113
Fix racy bug in sbrk() (XCC)

The compiler would have caught that if we could build with Werror
without blowing up the toolchain build.  Need to track down all of those
errors.

I didn't have a bug that led to this - just happened to notice the
compiler warning due to an unrelated bug.

Rebuild glibc.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/sbrk.c