Tom G. Christensen wrote:
> > Thanks, that's good so far. The interesting stuff is to look
> >   - what happens in line vasnprintf.c:2734,
>  >
> Single stepping from test-vasprintf-posix:1305 does not seem to stop 
> there (closest is 2531)
> 
> >   - at the result in line vasnprintf.c:4635.
>  >
> Single stepping indeed makes a stop at this line, and here result is 
> "0.000000 33"

Hmm. That's still not conclusive. I had expected the program to stop at
vasnprintf.c:4635 twice, once with result = "0.000000" and then with
"0.000000 33".

Needs more single-stepping. Where does the "0.000000" string definitely come
from? From the system, I suppose?

You can also try a standalone test program, linked against the system's
sprintf(), like this:
===============================
#include <stdio.h>
int main()
{
  char buf[100];
  sprintf (buf, "%Lf", -0.0L);
  printf ("%s\n", buf);
  return 0;
}
===============================

Bruno



_______________________________________________
Bug-m4 mailing list
Bug-m4@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-m4

Reply via email to