version 1.45 | | version 1.46 |
---|
| | |
%{ | | %{ |
/* | | /* |
* static char *rcsid_object_c = | | * static char *rcsid_object_c = |
* "$Id: loader.l,v 1.45 2003/06/30 19:14:13 tchize Exp $"; | | * "$Id: loader.l,v 1.46 2003/07/02 15:13:54 tchize Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*/ | | */ |
| | |
| | |
static int eol_size=strlen("\n"); | | /*static int eol_size=strlen("\n");*/ |
| | static int eol_size=sizeof("\n")-1; /*Substract 1 to suppress terminal 0*/ |
#define ADD_STRINGLINE_ENTRY(buf__,entryname__,entryvalue__,entrysize__){\ | | #define ADD_STRINGLINE_ENTRY(buf__,entryname__,entryvalue__,entrysize__){\ |
FAST_STRNCAT(buf__,entryname__,entrysize__);\ | | FAST_STRNCAT(buf__,entryname__,entrysize__);\ |
FAST_STRCAT(buf__,entryvalue__);\ | | FAST_STRCAT(buf__,entryvalue__);\ |