Re: ver 4.0 found the BUG in WIN98 code

new topic     » goto parent     » topic index » view thread      » older message » newer message
bernie said...
 
-- It has to be there because this code does the same thing. 
 
include std/memory.e 
 
sequence x 
 
x = sprintf(" %d ",{3217040639}) 
printf(1,x,{}) 
 
if getc(0) then end if 
 

Ok, now we just have to track down where the problem is occurring. Since I can't reproduce it, I'll need your help to figure this out. I think we should focus on FormatItem() in be_runtime.c. And on the v_elem parameter in particular. Here's what I'd like you to do:

be_runtime.c said...

// line 3940: (before cstring[flen++] = c;) 
printf("v_elem: %08x, dval: %08x\ngval: %.0f\n", *v_elem, dval, gval ); 

And then let me know what you get.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu