[Home]

Summary:ASTERISK-03639: [patch] utils.c will not compile
Reporter:jacs (jacs)Labels:
Date Opened:2005-03-07 06:07:39.000-0600Date Closed:2008-01-15 15:27:07.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) utils.c.patch.txt
Description:Someone recently took out

#ifndef __linux__
#undef pthread_create /* For ast_pthread_create function

from utils.c. However, for non linux

#define pthread_create __use_ast_pthread_create_instead__
is defined in lock.h.

either the undefine needs to be put back in utils.c or the define pthread_create needs to be removed from lock.h. I like the lock.h mechanism as it picks up undesirable calls to pthread_create.



****** ADDITIONAL INFORMATION ******

disclaimer on file.
Comments:By: twisted (twisted) 2005-03-08 14:51:05.000-0600

Fixed in CVS. Thanks :)

By: Digium Subversion (svnbot) 2008-01-15 15:27:07.000-0600

Repository: asterisk
Revision: 5152

U   trunk/utils.c

------------------------------------------------------------------------
r5152 | twisted | 2008-01-15 15:27:07 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix compile of utils.c on *BSD (Bug ASTERISK-3639)

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

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