[svn-commits] tilghman: branch tilghman/verbose r348789 - /team/tilghman/verbose/main/stdtime/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Dec 21 13:32:48 CST 2011


Author: tilghman
Date: Wed Dec 21 13:32:42 2011
New Revision: 348789

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=348789
Log:
The actual fix to the test bug.

No idea why the thread structures collided, but this fixes it.

Modified:
    team/tilghman/verbose/main/stdtime/localtime.c

Modified: team/tilghman/verbose/main/stdtime/localtime.c
URL: http://svnview.digium.com/svn/asterisk/team/tilghman/verbose/main/stdtime/localtime.c?view=diff&rev=348789&r1=348788&r2=348789
==============================================================================
--- team/tilghman/verbose/main/stdtime/localtime.c (original)
+++ team/tilghman/verbose/main/stdtime/localtime.c Wed Dec 21 13:32:42 2011
@@ -703,7 +703,9 @@
 			return -1;
 		if ((fid = open(name, OPEN_MODE)) == -1)
 			return -1;
-		add_notify(sp, name);
+		if (ast_fully_booted) {
+			add_notify(sp, name);
+		}
 	}
 	nread = read(fid, u.buf, sizeof u.buf);
 	if (close(fid) < 0 || nread <= 0)




More information about the svn-commits mailing list