rt: Use the correct global change_dir lock

This commit is contained in:
Brian Anderson 2013-07-30 21:06:02 -07:00
parent 5633a5363b
commit 91f1ab4896

View File

@ -939,12 +939,12 @@ static lock_and_signal change_dir_lock;
extern "C" CDECL void
rust_take_change_dir_lock() {
global_args_lock.lock();
change_dir_lock.lock();
}
extern "C" CDECL void
rust_drop_change_dir_lock() {
global_args_lock.unlock();
change_dir_lock.unlock();
}
//