2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
        reset digit flags appropriately after we have discovered "0x".
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
			
			
This commit is contained in:
		| @@ -1,3 +1,9 @@ | ||||
| 2004-06-02  Jeff Johnston  <jjohnstn@redhat.com> | ||||
|  | ||||
| 	* libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions, | ||||
| 	reset digit flags appropriately after we have discovered "0x". | ||||
| 	* libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto. | ||||
|  | ||||
| 2004-05-27  Jeff Johnston  <jjohnstn@redhat.com> | ||||
|  | ||||
| 	* libc/stdio/vfprintf.c (_VFPRINTF): Move file locking | ||||
|   | ||||
| @@ -911,6 +911,10 @@ __svfscanf_r (rptr, fp, fmt0, ap) | ||||
| 		    { | ||||
| 		      base = 16;/* if %i */ | ||||
| 		      flags &= ~PFXOK; | ||||
| 		      /* We must reset the NZDIGITS and NDIGITS | ||||
| 		         flags that would have been unset by seeing | ||||
| 		         the zero that preceded the X or x.  */ | ||||
| 		      flags |= NZDIGITS | NDIGITS; | ||||
| 		      goto ok; | ||||
| 		    } | ||||
| 		  break; | ||||
|   | ||||
| @@ -872,6 +872,10 @@ _DEFUN(__svfscanf_r, (rptr, fp, fmt0, ap), | ||||
| 		    { | ||||
| 		      base = 16;/* if %i */ | ||||
| 		      flags &= ~PFXOK; | ||||
| 		      /* We must reset the NZDIGITS and NDIGITS | ||||
| 		         flags that would have been unset by seeing | ||||
| 			 the zero that preceded the X or x.  */ | ||||
| 		      flags |= NZDIGITS | NDIGITS; | ||||
| 		      goto ok; | ||||
| 		    } | ||||
| 		  break; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user