]> git.saurik.com Git - apple/libc.git/blobdiff - stdio/FreeBSD/makebuf.c
Libc-1439.100.3.tar.gz
[apple/libc.git] / stdio / FreeBSD / makebuf.c
index e5ec5bd614045d2fb9fd8d1131c5e12e3ee83279..a472776afcb0cdfb8d986a56284a3d2c4a3deefe 100644 (file)
@@ -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;
        }