* libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
handling %p.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| 2007-05-27  Brian Dessent  <brian@dessent.net> | ||||
|  | ||||
| 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when | ||||
| 	handling %p. | ||||
|  | ||||
| 2007-05-25  Eric Blake  <ebb9@byu.net> | ||||
|  | ||||
| 	* libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22. | ||||
|   | ||||
| @@ -1021,7 +1021,8 @@ reswitch:	switch (ch) { | ||||
| 			base = HEX; | ||||
| 			xdigs = "0123456789abcdef"; | ||||
| 			flags |= HEXPREFIX; | ||||
| 			ch = 'x'; | ||||
| 			ox[0] = '0'; | ||||
| 			ox[1] = ch = 'x'; | ||||
| 			goto nosign; | ||||
| 		case 's': | ||||
| #ifdef _WANT_IO_C99_FORMATS | ||||
|   | ||||
		Reference in New Issue
	
	Block a user