openrisc / newlib

newlib OpenRISC development
GNU General Public License v2.0
24 stars 24 forks source link

wrong restore in malloc_unlock #1

Closed wallento closed 9 years ago

wallento commented 9 years ago

This is just a minor race condition, but should be fixed: https://github.com/openrisc/newlib/blob/or1k/newlib/libc/sys/or1k/mlock.c#L88

wallento commented 9 years ago

Fixed in 3e342ed01b69304f18595c982a6c2383457eeb78