Bug 548 - usleep() vs. sys_usleep()
Summary: usleep() vs. sys_usleep()
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.0
Hardware: Other other
: P3 normal
Target Milestone: 3.0.1
Assignee: Tim Potter
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-01 03:41 UTC by Joachim Schmitz (mail address dead)
Modified: 2005-08-24 10:18 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joachim Schmitz (mail address dead) 2003-10-01 03:41:00 UTC
Hi there

here usleep() is used instead of sys_usleep():
--- source/rpc_server/srv_spoolss_nt.c.orig  2003-08-28 23:42:45.000000000 +0200
+++ source/rpc_server/srv_spoolss_nt.c       2003-09-30 12:26:09.000000000 +0200
@@ -1803,7 +1803,7 @@
                && (RA_WIN2K == get_remote_arch()) )
        {
                DEBUG(10,("_spoolss_open_printer_ex: Enabling LAN/WAN hack for W
in2k clients.\n"));
-               usleep( 500000 );
+               sys_usleep( 500000 );
        }

        return WERR_OK;


Bye, Jojo
Comment 1 Jeremy Allison 2003-10-02 10:36:58 UTC
Applied, thanks.
Jeremy.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:18:19 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.