• R
    fix undefined behavior in wcsto[ld] family functions · f3ecdc10
    Rich Felker 提交于
    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.
    f3ecdc10
wcstod.c 1.3 KB