* libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
_wcsrtombs_r.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | 2007-12-19  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
|  | 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to | ||||||
|  | 	_wcsrtombs_r. | ||||||
|  |  | ||||||
| 2007-11-19  Nick Clifton  <nickc@redhat.com> | 2007-11-19  Nick Clifton  <nickc@redhat.com> | ||||||
|  |  | ||||||
| 	* libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2. | 	* libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2. | ||||||
| @@ -21,7 +26,7 @@ | |||||||
| 	* libc/sys/arm/sys/fcntl.h: New file that includes | 	* libc/sys/arm/sys/fcntl.h: New file that includes | ||||||
| 	sys/_default_fcntl.h and defines O_BINARY. | 	sys/_default_fcntl.h and defines O_BINARY. | ||||||
|  |  | ||||||
| 2007-11-08  Corinna Vinschen | 2007-11-08  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN. | 	* libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN. | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1095,8 +1095,8 @@ reswitch:	switch (ch) { | |||||||
|  |  | ||||||
| 				/* Convert widechar string to multibyte string. */ | 				/* Convert widechar string to multibyte string. */ | ||||||
| 				memset ((_PTR)&ps, '\0', sizeof (mbstate_t)); | 				memset ((_PTR)&ps, '\0', sizeof (mbstate_t)); | ||||||
| 				if (_wcsrtombs_r (data, malloc_buf, | 				if (_wcsrtombs_r (data, cp, &wcp, size, &ps) | ||||||
| 						 &wcp, size, &ps) != size) { | 				    != size) { | ||||||
| 					fp->_flags |= __SERR; | 					fp->_flags |= __SERR; | ||||||
| 					goto error; | 					goto error; | ||||||
| 				} | 				} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user