This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch: ppc vfscanf fix


This fixes a build failure after the vfscanf changes went in.  I
didn't re-indent the code as I thought it would be too invasive.  It's
up to you Jeff.

Committed as obvious.

Cheers.
Aldy

	* libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
	CT_INT case.

Index: libc/machine/powerpc/vfscanf.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/machine/powerpc/vfscanf.c,v
retrieving revision 1.9
diff -c -p -r1.9 vfscanf.c
*** libc/machine/powerpc/vfscanf.c	23 Apr 2004 21:44:22 -0000	1.9
--- libc/machine/powerpc/vfscanf.c	26 Apr 2004 22:42:07 -0000
*************** __svfscanf_r (rptr, fp, fmt0, ap)
*** 800,805 ****
--- 800,806 ----
  	  continue;
  
  	case CT_INT:
+ 	  {
  	  unsigned int_width_left = 0;
  	  int_width = width;
  #ifdef hardway
*************** __svfscanf_r (rptr, fp, fmt0, ap)
*** 1005,1010 ****
--- 1006,1012 ----
  	    }
  	  nread += p - buf;
  	  break;
+ 	  }
  
  #ifdef FLOATING_POINT
  	case CT_FLOAT:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]