> 
> For what its worth, I just added the following lines to
> yacc.c at the top of the file:
> 
> #include <stdio.h>
> #define sprint sprintf
> 
> The build of plan9port just completed with no errors, the
> problem is somewhere in sprint().
> 
> I'll try and find time tonight to test out the plan9port
> build to verify it works.  Let me know if I can provide any
> other useful information.  I might try tracking down the bug
> later this week, but not certain I'll have much time to do
> so.

it is very likely that you have broken yacc in a different
way by doing this.  stdio formats are not compatable with
plan 9 print formats.  for example, u is a flag when used
with sprint but a verb when used with printf.

(not to mention the fact that other programs than yacc
use sprint.)

have you verified that a standalone program with a
similar print statement has the same problems?

- erik

Reply via email to