X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/70ad1dc8a19d6edd9b97aa81f32cfd65758ae97d..refs/heads/master:/stdio/FreeBSD/makebuf.c?ds=sidebyside diff --git a/stdio/FreeBSD/makebuf.c b/stdio/FreeBSD/makebuf.c index e5ec5bd..a472776 100644 --- a/stdio/FreeBSD/makebuf.c +++ b/stdio/FreeBSD/makebuf.c @@ -144,7 +144,7 @@ __senvbuf(FILE *fp, size_t *bufsize, int *couldbetty) return flags; // No number found, this protects us from negative size values } - size = strtol_l(evp, &end, 10, NULL); // No locale + size = strtol_l(evp, &end, 10, LC_C_LOCALE); if (*end != '\0') { return flags; }