The Samba-Bugzilla – Bug 1098
AIX has msleep
Last modified: 2005-11-14 09:26:01 UTC
AIX has a function msleep in libc.
int msleep (Sem)
msemaphore * Sem;
The msleep subroutine puts a calling process to sleep when a
semaphore is busy.
Samba also names a function msleep. This does not affect samba itself, but other
applications linked with libsmbclient might use the wrong "msleep". Symptom is
"timeout connecting to ..." when connecting to remote servers, because AIX
msleep does not sleep but fails immediatly with EFAULT.
msleep should be renamed.
I have a patch to rename this to smb_msleep()
I've checked in a patch to rename msleep() to smb_msleep().
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.