corrected synch.c