[Asterisk-cvs] asterisk utils.c,1.29,1.30
markster at lists.digium.com
markster at lists.digium.com
Thu Mar 3 10:21:31 CST 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv13244
Modified Files:
utils.c
Log Message:
Fix stack size (take 2) (bug #3706)
Index: utils.c
===================================================================
RCS file: /usr/cvsroot/asterisk/utils.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- utils.c 3 Mar 2005 03:46:41 -0000 1.29
+++ utils.c 3 Mar 2005 16:18:44 -0000 1.30
@@ -389,8 +389,6 @@
}
-#ifndef __linux__
-#undef pthread_create /* For ast_pthread_create function only */
int ast_pthread_create(pthread_t *thread, pthread_attr_t *attr, void *(*start_routine)(void *), void *data)
{
pthread_attr_t lattr;
@@ -403,7 +401,6 @@
ast_log(LOG_WARNING, "pthread_attr_setstacksize returned non-zero: %s\n", strerror(errno));
return pthread_create(thread, attr, start_routine, data); /* We're in ast_pthread_create, so it's okay */
}
-#endif /* ! LINUX */
/* Case-insensitive substring matching */
#ifndef LINUX
More information about the svn-commits
mailing list