2.0.4: bug in sys_usleep without usleep

Andrej Borsenkow borsenkow.msk at sni.de
Tue May 18 14:25:15 GMT 1999


It does not compile without system usleep(). Here is the patch

regards

/andrej


--- lib/system.c.org    Sat May 15 05:06:30 1999
+++ lib/system.c        Tue May 18 17:51:04 1999
@@ -166,8 +166,8 @@
   /*
    * Fake it with select...
    */
-  tval.tv_secs = 0;
-  tval_tv_usecs = usecs/1000;
+  tval.tv_sec = 0;
+  tval.tv_usec = usecs/1000;
   select(0,NULL,NULL,NULL,&tval);
   return 0;
 #endif /* HAVE_USLEEP */


More information about the samba-technical mailing list