summaryrefslogtreecommitdiff
path: root/reentr.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-04-01 16:36:52 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-04-01 16:36:52 +0000
commit05404ffef2713f4c61b42355c2a2ce1a95343c33 (patch)
tree0a0655bca7f94bda75941a7220ae39438233ae79 /reentr.h
parent12724655a0993f91aa01e1070345dfd5a3d78ed1 (diff)
downloadperl-05404ffef2713f4c61b42355c2a2ce1a95343c33.tar.gz
Integrate:
[ 19119] Address "5.8.1@19053: crypt_r() takes 128K per thread". p4raw-link: @19119 on //depot/maint-5.8/perl: 5338c2bbd71426ba96ace22615fafeda3d05e36d p4raw-link: @19053 on //depot/maint-5.8/perl: dab75801826d3b09804fff099d3631e91578dcd1 p4raw-id: //depot/perl@19122 p4raw-integrated: from //depot/maint-5.8/perl@19121 'copy in' reentr.c reentr.h reentr.pl (@19106..) 'merge in' pp.c (@19045..)
Diffstat (limited to 'reentr.h')
-rw-r--r--reentr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/reentr.h b/reentr.h
index f5337c4393..f4f9f25cba 100644
--- a/reentr.h
+++ b/reentr.h
@@ -604,7 +604,7 @@ typedef struct {
#if CRYPT_R_PROTO == REENTRANT_PROTO_B_CCD
CRYPTD* _crypt_data;
#else
- struct crypt_data _crypt_struct;
+ struct crypt_data *_crypt_struct_buffer;
#endif
#endif /* HAS_CRYPT_R */
#ifdef HAS_CTIME_R
@@ -781,7 +781,7 @@ typedef struct {
#ifdef HAS_CRYPT_R
# undef crypt
# if !defined(crypt) && CRYPT_R_PROTO == REENTRANT_PROTO_B_CCS
-# define crypt(a, b) crypt_r(a, b, &PL_reentrant_buffer->_crypt_struct)
+# define crypt(a, b) crypt_r(a, b, PL_reentrant_buffer->_crypt_struct_buffer)
# endif
# if !defined(crypt) && CRYPT_R_PROTO == REENTRANT_PROTO_B_CCD
# define crypt(a, b) crypt_r(a, b, &PL_reentrant_buffer->_crypt_data)