problem building gmp on Mac G5

Kate Minola kminola at
Wed Jan 7 09:55:34 CET 2004

Kevin Ryde <user42 at> writes:

> All our test systems except darwin7 follow our expectations.  There's
> some freebsd5.0 and 5.1 among them.
> What also makes me believe this darwin sscanf bit is either broken or
> a very bad idea is that fscanf continues to return -1 for similar
> input,
> 	#include <stdio.h>
> 	int
> 	main (void)
> 	{
> 	  printf ("%d\n",
> 	          scanf ("%*d"));
> 	  return 0;
> 	}
> run as "./a.out </dev/null".
> C99 explicitly says end of string for sscanf is equivalent to end of
> file for fscanf :-(.

Can you give me the result of config.guess for the
freebsd5.0 and 5.1 machines on which the sscanf problem
does NOT occur?  I would like to mention them in my bug
report to Apple.  (Otherwise I fear that Apple will point
me at the discussion on the freebsd list and close the

Kate Minola
Engineering Department
University of Maryland, College Park

More information about the gmp-bugs mailing list