remove legacy macro PRINTF_RETVAL_BROKEN
This commit is contained in:
parent
9646ef6752
commit
fa32df6aa9
@ -516,9 +516,6 @@ void putheader(char *dir) {
|
||||
if(trun_syms == true) { dboffset += fprintf(newrefs, " -T"); }
|
||||
|
||||
dboffset += fprintf(newrefs, " %.10ld\n", traileroffset);
|
||||
#ifdef PRINTF_RETVAL_BROKEN
|
||||
dboffset = ftell(newrefs);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* put the name list into the cross-reference file */
|
||||
|
@ -224,9 +224,6 @@ void putcrossref(void) {
|
||||
/* output the source line */
|
||||
lineoffset = dboffset;
|
||||
dboffset += fprintf(newrefs, "%d ", lineno);
|
||||
#ifdef PRINTF_RETVAL_BROKEN
|
||||
dboffset = ftell(newrefs); /* fprintf doesn't return chars written */
|
||||
#endif
|
||||
|
||||
/* HBB 20010425: added this line: */
|
||||
my_yytext[my_yyleng] = '\0';
|
||||
|
Loading…
x
Reference in New Issue
Block a user