28 Feb
2007
28 Feb
'07
7:12 p.m.
Hi! The constants defined in db.h are not usual: First, it seems logical, that NONE==0x0, ALL=0xFF. However you may forget about this, like be_files.c (row 222): "if(info->infolevel & inforeq) { /* already loaded this info, do nothing */ return(0); }" As I see, the author thinks of inforeq as exactly one bit is set to 1. However, if inforeq=0xFF and infolevel!=0, this is a bug. And if inforeq=0, this condition is never true. Bye.