rc.12 on the server

Carter Bullard carter at qosient.com
Mon Jun 26 19:11:43 EDT 2006


So I found the bug, and what a nasty bug it was.   One file would
#include <time.h>  under a #pragma pack(1) and another file would
include it without the #pragma, making "struct tm" come up with
different sizes in different files.   Not good!!!!

So now we're working.   I have some sanity checking to do, but for
the most part, we're cool on the amd64 problem.

Carter


On Jun 26, 2006, at 6:42 PM, Carter Bullard wrote:

> Well, we've got some weird struct size problem in the client code,  
> where
> ArgusParserStruct is different sizes in different files.  Not good,  
> I'm looking
> into it.
>
> Carter
>
> On Jun 26, 2006, at 5:05 PM, Peter Van Epp wrote:
>
>> 	As well as the usual political warnings about printf and strcpy  
>> OpenBSD
>> is unhappy about this (but only as a warning) in clients.rc.12  
>> (FreeBSD 6.1
>> didn't flag this though):
>>
>> gcc -g  -Wall -Wmissing-prototypes -Wstrict-prototypes -pthread - 
>> I. -I../include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" - 
>> DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT= 
>> \"\" -DARGUSDEBUG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 - 
>> DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 - 
>> DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - 
>> DHAVE_UNISTD_H=1 -DARGUS_THREADS=1 -DHAVE_TCP_WRAPPER=1 - 
>> DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 - 
>> DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DSTDC_HEADERS=1  - 
>> DARGUS_SYSLOG -c ./argus_util.c
>> argus_util.c: In function `strtof':
>> argus_util.c:10403: warning: suggest parentheses around assignment  
>> used as truth value
>> argus_util.c:10400: warning: unused variable `f'
>> argus_util.c:10400: warning: unused variable `mant'
>>
>> Peter Van Epp / Operations and Technical Support
>> Simon Fraser University, Burnaby, B.C. Canada
>>
>
>
>
>
>







More information about the argus mailing list