[asterisk-bugs] [Asterisk 0012814]: [patch] changes use of usleep to nanosleep

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jun 20 18:05:27 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12814 
====================================================================== 
Reported By:                pputman
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12814
Category:                   Applications/app_rpt
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 121228 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             06-09-2008 05:50 CDT
Last Modified:              06-20-2008 18:05 CDT
====================================================================== 
Summary:                    [patch] changes use of usleep to nanosleep
Description: 
very simple patch which changes the use of usleep in an instance where it's
argument was over 1 million to nanosleep to comply with the portability
setting on the janitor projects.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-20-08 18:05  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 124450

U   branches/1.4/apps/app_rpt.c

------------------------------------------------------------------------
r124450 | tilghman | 2008-06-20 18:05:24 -0500 (Fri, 20 Jun 2008) | 6
lines

usleep with a value over 1,000,000 is nonportable.  Changing to use
sleep()
instead.  (closes issue http://bugs.digium.com/view.php?id=12814)
 Reported by: pputman
 Patches: 
       app_rtp_sleep.patch uploaded by pputman (license 81)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=124450 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-20-08 18:05  svnbot         Note Added: 0089035                          
======================================================================




More information about the asterisk-bugs mailing list