char s[256];
char stopchar;
int escaped, lineno=0, i;
- unsigned int uc;
+ int32_t uc;
path=find_file(filename,add_exe_path(map_path));
if (!path) {
free(map);
}
f=fopen(path,"rb");
if (!f) {
- perror("catdoc");
+ perror(path);
+ free(map);
return NULL;
}
if (input_buffer)
}
/* skip space between code and sequence */
for(;*p && isspace(*p);p++);
- if (!p) continue;
+ if (!*p) continue;
switch (*p) {
case '\'':
case '"':