[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:06:27 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12814 
====================================================================== 
Reported By:                pputman
Assigned To:                svnbot
====================================================================== 
Project:                    Asterisk
Issue ID:                   12814
Category:                   Applications/app_rpt
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             06-09-2008 05:50 CDT
Last Modified:              06-20-2008 18:06 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:06  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 124451

_U  trunk/
U   trunk/apps/app_rpt.c

------------------------------------------------------------------------
r124451 | tilghman | 2008-06-20 18:06:26 -0500 (Fri, 20 Jun 2008) | 14
lines

Merged revisions 124450 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r124450 | tilghman | 2008-06-20 18:12:33 -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=124451 

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




More information about the asterisk-bugs mailing list