[asterisk-dev] [asterisk-commits] murf: trunk r97656 - in /trunk: channels/ include/ utils/

Jason Parker jparker at digium.com
Thu Jan 10 12:22:59 CST 2008


Kevin P. Fleming wrote:
> SVN commits to the Asterisk project wrote:
> 
>> Modified: trunk/utils/astman.c
>> URL: http://svn.digium.com/view/asterisk/trunk/utils/astman.c?view=diff&rev=97656&r1=97655&r2=97656
>> ==============================================================================
>> --- trunk/utils/astman.c (original)
>> +++ trunk/utils/astman.c Wed Jan  9 18:50:39 2008
>> @@ -23,7 +23,7 @@
>>   */
>>  
>>  #include "asterisk.h"
>> -
>> +ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
>>  #include <newt.h>
>>  #include <stdio.h>
>>  #include <sys/time.h>
> 
> There is no requirement for usage of ASTERISK_FILE_VERSION in any file,
> I can't see how adding this would have caused any build failures to be
> rectified.
> 
> In addition, adding this will cause astman to try to call Asterisk's
> core file registration functions at startup time, which may not work at all.
> 
> Steve, can you post the output of a failing build that was fixed by
> adding this?
> 
> 

The AST_FILE_VERSION macro defines int mtx_prof, which is used a few places in
lock.h.  It seems to be done in a fairly silly way...perhaps that could/should
be what gets changed?

-- 
Jason Parker
Digium



More information about the asterisk-dev mailing list