From 05404ffef2713f4c61b42355c2a2ce1a95343c33 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Tue, 1 Apr 2003 16:36:52 +0000 Subject: 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..) --- reentr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'reentr.h') 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) -- cgit v1.2.1