version 1.8, 2002/02/16 21:27:51 |
version 1.9, 2002/06/01 01:40:38 |
|
|
char buf[100]; |
char buf[100]; |
char *p; |
char *p; |
|
|
s_print(buf, "illegal character in file: "); |
snprintf(buf, sizeof buf, "illegal character in file: "); |
p = buf + strlen(buf); |
p = buf + strlen(buf); |
if (isprint(*where)) { |
if (isprint(*where)) { |
s_print(p, "%c", *where); |
sprintf(p, "%c", *where); |
} else { |
} else { |
s_print(p, "%d", *where); |
sprintf(p, "%d", *where); |
} |
} |
error(buf); |
error(buf); |
} |
} |
|
|
printdirective(line) |
printdirective(line) |
char *line; |
char *line; |
{ |
{ |
f_print(fout, "%s", line + 1); |
fprintf(fout, "%s", line + 1); |
} |
} |
|
|
static |
static |