summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2010-11-10 21:23:48 -0600
committerCraig A. Berry <craigberry@mac.com>2010-11-10 21:23:48 -0600
commit1810cd7c230c5a59515b35da6bad19ff8c8a9d5b (patch)
tree534321755eb9ea7e59834356de2b9be28c117ba4 /perlio.c
parenteff4c632969f3d8d396084e4721d5853867b0b3a (diff)
downloadperl-1810cd7c230c5a59515b35da6bad19ff8c8a9d5b.tar.gz
Rename PERLIO_BUFSIZ to PERLIOBUF_DEFAULT_BUFSIZ.
PERLIO_BUFSIZ was already in use by Encode::Unicode for the PerlIOEncode_xxx layer, so it makes sense to specify that this macro is for the PerlIOBuf_xxx layer and that it is a default value that may eventually be settable at run-time.
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perlio.c b/perlio.c
index 5b396793e0..13b135181d 100644
--- a/perlio.c
+++ b/perlio.c
@@ -4120,7 +4120,7 @@ PerlIOBuf_get_base(pTHX_ PerlIO *f)
if (!b->buf) {
if (!b->bufsiz)
- b->bufsiz = PERLIO_BUFSIZ;
+ b->bufsiz = PERLIOBUF_DEFAULT_BUFSIZ;
Newxz(b->buf,b->bufsiz, STDCHAR);
if (!b->buf) {
b->buf = (STDCHAR *) & b->oneword;