summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-02-03 13:06:00 +0000
committerNicholas Clark <nick@ccl4.org>2006-02-03 13:06:00 +0000
commit22c96fc102ce8ee52778a2d8a7fced27b492c1ee (patch)
tree1a1f53570204f0e471c6f8c8f2b2252f40a448d8 /perlvars.h
parentf550f1f84120b52f9da4c1bccd557ed73c676650 (diff)
downloadperl-22c96fc102ce8ee52778a2d8a7fced27b492c1ee.tar.gz
Change PL_perlio_fd_refcnt from a fixed size static array to a pointer
to a dynamic array. p4raw-id: //depot/perl@27059
Diffstat (limited to 'perlvars.h')
-rw-r--r--perlvars.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/perlvars.h b/perlvars.h
index 21bd46e1dc..67ee5fd511 100644
--- a/perlvars.h
+++ b/perlvars.h
@@ -76,7 +76,8 @@ PERLVARI(Guse_safe_putenv, int, 1)
#endif
#ifdef USE_PERLIO
-PERLVARA(Gperlio_fd_refcnt, 2048, int) /* PERLIO_MAX_REFCOUNTABLE_FD */
+PERLVARI(Gperlio_fd_refcnt, int*, 0) /* Pointer to array of fd refcounts. */
+PERLVARI(Gperlio_fd_refcnt_size, int, 0) /* Size of the array */
PERLVARI(Gperlio_debug_fd, int, 0) /* the fd to write perlio debug into, 0 means not set yet */
#endif