Revision: 34741
http://sourceforge.net/p/opalvoip/code/34741
Author: rjongbloed
Date: 2016-03-30 18:15:06 +0000 (Wed, 30 Mar 2016)
Log Message:
-----------
Fixed Linux assert timeout on addr2line during stack walk.
Modified Paths:
--------------
ptlib/trunk/src/ptlib/unix/assert.cxx
Modified: ptlib/trunk/src/ptlib/unix/assert.cxx
===================================================================
--- ptlib/trunk/src/ptlib/unix/assert.cxx 2016-03-30 17:28:02 UTC (rev 34740)
+++ ptlib/trunk/src/ptlib/unix/assert.cxx 2016-03-30 18:15:06 UTC (rev 34741)
@@ -61,7 +61,7 @@
FD_SET(fileno(fp), &rd);
P_timeval tv(1);
- if (select(1, &rd, NULL, NULL, tv) != 0)
+ if (select(1, &rd, NULL, NULL, tv) != 1)
return false;
if (fgets(buffer, size, fp) == NULL)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|