case 'p':
INFO2("[%s] %s",filepos,line+2);
break;
+ case 'P':
+ CRITICAL2("[%s] %s",filepos,line+2);
+ break;
default:
ERROR2("[%s] Syntax error: %s",filepos, line);
}
static void handle_suite(const char* filename, FILE* IN) {
- int len;
+ size_t len;
char * line = NULL;
int line_num=0;
char file_pos[256];
rctx = rctx_new();
- while (getline(&line,(size_t*) &len, IN) != -1) {
+ while (getline(&line, &len, IN) != -1) {
line_num++;
/* Count the line length while checking wheather it's blank */