fix undefined behavior in wcsto[ld] family functions
analogous to commit b287cd74 but for the custom FILE stream type the wcstol and wcstod family use. __toread could be used here as well, but there's a simple direct fix to make the buffer pointers initially valid for subtraction, so just do that to avoid pulling in stdio exit code in programs that don't use stdio.
Showing
想要评论请 注册 或 登录