Correct initialization of fmutex_t so the file descriptor is -1
For some reason, MSVC was initializing the time_t (second element of the struct) to -1, not the int fd (the first element), which was initialized to 0. Weird.
Please register or sign in to comment