Change 11334 by jhi@alpha on 2001/07/12 23:22:42

        Add HAS_PTHREAD_ATFORK.

Affected files ...

... //depot/perl/Configure#337 edit
... //depot/perl/NetWare/config.wc#7 edit
... //depot/perl/NetWare/config_H.wc#6 edit
... //depot/perl/Porting/Glossary#109 edit
... //depot/perl/Porting/config.sh#105 edit
... //depot/perl/Porting/config_H#108 edit
... //depot/perl/config_h.SH#224 edit
... //depot/perl/configure.com#107 edit
... //depot/perl/epoc/config.sh#57 edit
... //depot/perl/pod/perltoc.pod#104 edit
... //depot/perl/uconfig.h#45 edit
... //depot/perl/uconfig.sh#44 edit
... //depot/perl/vos/config.alpha.def#29 edit
... //depot/perl/vos/config.alpha.h#29 edit
... //depot/perl/vos/config.ga.def#29 edit
... //depot/perl/vos/config.ga.h#28 edit
... //depot/perl/win32/config.bc#114 edit
... //depot/perl/win32/config.gc#114 edit
... //depot/perl/win32/config.vc#118 edit
... //depot/perl/win32/config_H.bc#107 edit
... //depot/perl/win32/config_H.gc#102 edit
... //depot/perl/win32/config_H.vc#105 edit

Differences ...

==== //depot/perl/Configure#337 (xtext) ====
Index: perl/Configure
--- perl/Configure.~1~  Thu Jul 12 17:30:05 2001
+++ perl/Configure      Thu Jul 12 17:30:05 2001
@@ -20,7 +20,7 @@
 
 # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
 #
-# Generated on Thu Jul 12 07:32:38 EET DST 2001 [metaconfig 3.0 PL70]
+# Generated on Fri Jul 13 03:14:01 EET DST 2001 [metaconfig 3.0 PL70]
 # (with additional metaconfig patches by [EMAIL PROTECTED])
 
 cat >c1$$ <<EOF
@@ -477,6 +477,7 @@
 d_portable=''
 d_old_pthread_create_joinable=''
 old_pthread_create_joinable=''
+d_pthread_atfork=''
 d_pthread_yield=''
 d_sched_yield=''
 sched_yield=''
@@ -11328,6 +11329,10 @@
 set poll d_poll
 eval $inlibc
 
+: see if pthread_atfork exists
+set pthread_atfork d_pthread_atfork
+eval $inlibc
+
 
 : see whether the various POSIXish _yields exist
 $cat >try.c <<EOP
@@ -16803,6 +16808,7 @@
 d_pipe='$d_pipe'
 d_poll='$d_poll'
 d_portable='$d_portable'
+d_pthread_atfork='$d_pthread_atfork'
 d_pthread_yield='$d_pthread_yield'
 d_pwage='$d_pwage'
 d_pwchange='$d_pwchange'

==== //depot/perl/NetWare/config.wc#7 (text) ====
Index: perl/NetWare/config.wc
--- perl/NetWare/config.wc.~1~  Thu Jul 12 17:30:05 2001
+++ perl/NetWare/config.wc      Thu Jul 12 17:30:05 2001
@@ -246,6 +246,7 @@
 d_pipe='define'
 d_poll='undef'
 d_portable='define'
+d_pthread_atfork='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'

==== //depot/perl/NetWare/config_H.wc#6 (text) ====
Index: perl/NetWare/config_H.wc
--- perl/NetWare/config_H.wc.~1~        Thu Jul 12 17:30:05 2001
+++ perl/NetWare/config_H.wc    Thu Jul 12 17:30:05 2001
@@ -2933,7 +2933,7 @@
  *     This macro is to be used to generate uniformly distributed
  *     random numbers over the range [0., 1.[.  You may have to supply
  *     an 'extern double drand48();' in your program since SunOS 4.1.3
- *     doesn't provide you with anything relevant in it's headers.
+ *     doesn't provide you with anything relevant in its headers.
  *     See HAS_DRAND48_PROTO.
  */
 /* Rand_seed_t:
@@ -3446,4 +3446,10 @@
  */
 /*#define      HAS_USLEEP_PROTO        /**/
 
+/* HAS_PTHREAD_ATFORK:
+ *     This symbol, if defined, indicates that the pthread_atfork routine
+ *     is available setup fork handlers.
+ */
+/*#define HAS_PTHREAD_ATFORK           /**/
+
 #endif

==== //depot/perl/Porting/Glossary#109 (text) ====
Index: perl/Porting/Glossary
--- perl/Porting/Glossary.~1~   Thu Jul 12 17:30:05 2001
+++ perl/Porting/Glossary       Thu Jul 12 17:30:05 2001
@@ -1209,6 +1209,11 @@
        The 'U' in the name is to separate this from d_PRIx64 so that even
        case-blind systems can see the difference.
 
+d_pthread_atfork (d_pthread_atfork.U):
+       This variable conditionally defines the HAS_PTHREAD_ATFORK symbol,
+       which indicates to the C program that the pthread_atfork()
+       routine is available.
+
 d_pthread_yield (d_pthread_y.U):
        This variable conditionally defines the HAS_PTHREAD_YIELD
        symbol if the pthread_yield routine is available to yield

==== //depot/perl/Porting/config.sh#105 (text) ====
Index: perl/Porting/config.sh
--- perl/Porting/config.sh.~1~  Thu Jul 12 17:30:05 2001
+++ perl/Porting/config.sh      Thu Jul 12 17:30:05 2001
@@ -8,7 +8,7 @@
 
 # Package name      : perl5
 # Source directory  : .
-# Configuration time: Thu Jul 12 21:13:57 EET DST 2001
+# Configuration time: Fri Jul 13 03:15:46 EET DST 2001
 # Configured by     : jhi
 # Target system     : osf1 alpha.hut.fi v4.0 878 alpha 
 
@@ -63,7 +63,7 @@
 ccversion='V5.6-082'
 cf_by='jhi'
 cf_email='[EMAIL PROTECTED]'
-cf_time='Thu Jul 12 21:13:57 EET DST 2001'
+cf_time='Fri Jul 13 03:15:46 EET DST 2001'
 charsize='1'
 chgrp=''
 chmod='chmod'
@@ -275,6 +275,7 @@
 d_pipe='define'
 d_poll='define'
 d_portable='define'
+d_pthread_atfork='define'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'
@@ -672,7 +673,7 @@
 path_sep=':'
 perl5='/u/vieraat/vieraat/jhi/Perl/bin//perl'
 perl=''
-perl_patchlevel='11277'
+perl_patchlevel='11326'
 perladmin='[EMAIL PROTECTED]'
 perllibs='-lm -liconv -lutil -lpthread -lexc'
 perlpath='/opt/perl/bin/perl'
@@ -840,7 +841,7 @@
 vendorprefix=''
 vendorprefixexp=''
 version='5.7.1'
-version_patchlevel_string='version 7 subversion 1 patch 11277'
+version_patchlevel_string='version 7 subversion 1 patch 11326'
 versiononly='define'
 vi=''
 voidflags='15'
@@ -873,7 +874,7 @@
 PERL_API_REVISION=5
 PERL_API_VERSION=5
 PERL_API_SUBVERSION=0
-PERL_PATCHLEVEL=11277
+PERL_PATCHLEVEL=11326
 PERL_CONFIG_SH=true
 # Variables propagated from previous config.sh file.
 pp_sys_cflags='ccflags="$ccflags -DNO_EFF_ONLY_OK"'

==== //depot/perl/Porting/config_H#108 (text) ====
Index: perl/Porting/config_H
--- perl/Porting/config_H.~1~   Thu Jul 12 17:30:05 2001
+++ perl/Porting/config_H       Thu Jul 12 17:30:05 2001
@@ -17,7 +17,7 @@
 /*
  * Package name      : perl5
  * Source directory  : .
- * Configuration time: Thu Jul 12 21:13:57 EET DST 2001
+ * Configuration time: Fri Jul 13 03:15:46 EET DST 2001
  * Configured by     : jhi
  * Target system     : osf1 alpha.hut.fi v4.0 878 alpha 
  */
@@ -3457,4 +3457,10 @@
  */
 #define        I_LANGINFO              /**/
 
+/* HAS_PTHREAD_ATFORK:
+ *     This symbol, if defined, indicates that the pthread_atfork routine
+ *     is available setup fork handlers.
+ */
+#define HAS_PTHREAD_ATFORK             /**/
+
 #endif

==== //depot/perl/config_h.SH#224 (text) ====
Index: perl/config_h.SH
--- perl/config_h.SH.~1~        Thu Jul 12 17:30:05 2001
+++ perl/config_h.SH    Thu Jul 12 17:30:05 2001
@@ -3477,5 +3477,11 @@
  */
 #$i_langinfo   I_LANGINFO              /**/
 
+/* HAS_PTHREAD_ATFORK:
+ *     This symbol, if defined, indicates that the pthread_atfork routine
+ *     is available setup fork handlers.
+ */
+#$d_pthread_atfork HAS_PTHREAD_ATFORK          /**/
+
 #endif
 !GROK!THIS!

==== //depot/perl/configure.com#107 (text) ====
Index: perl/configure.com
--- perl/configure.com.~1~      Thu Jul 12 17:30:05 2001
+++ perl/configure.com  Thu Jul 12 17:30:05 2001
@@ -5155,6 +5155,7 @@
 $ WC "d_phostname='" + d_phostname + "'"
 $ WC "d_pipe='define'"
 $ WC "d_poll='undef'"
+$ WC "d_pthread_atfork='undef'"
 $ WC "d_pthread_yield='" + d_pthread_yield + "'"
 $ WC "d_pthreads_created_joinable='" + d_pthreads_created_joinable + "'"
 $ WC "d_pwage='undef'"

==== //depot/perl/epoc/config.sh#57 (text) ====
Index: perl/epoc/config.sh
--- perl/epoc/config.sh.~1~     Thu Jul 12 17:30:05 2001
+++ perl/epoc/config.sh Thu Jul 12 17:30:05 2001
@@ -263,6 +263,7 @@
 d_pipe='undef'
 d_poll='undef'
 d_portable='undef'
+d_pthread_atfork='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'

==== //depot/perl/pod/perltoc.pod#104 (text+w) ====
Index: perl/pod/perltoc.pod
--- perl/pod/perltoc.pod.~1~    Thu Jul 12 17:30:05 2001
+++ perl/pod/perltoc.pod        Thu Jul 12 17:30:05 2001
@@ -4578,7 +4578,7 @@
 
 =back
 
-=head2 perl572delta, perl571delta - what's new for perl v5.7.2
+=head2 perl572delta - what's new for perl v5.7.2
 
 =over 4
 

==== //depot/perl/uconfig.h#45 (text) ====
Index: perl/uconfig.h
--- perl/uconfig.h.~1~  Thu Jul 12 17:30:05 2001
+++ perl/uconfig.h      Thu Jul 12 17:30:05 2001
@@ -2933,7 +2933,7 @@
  *     This macro is to be used to generate uniformly distributed
  *     random numbers over the range [0., 1.[.  You may have to supply
  *     an 'extern double drand48();' in your program since SunOS 4.1.3
- *     doesn't provide you with anything relevant in it's headers.
+ *     doesn't provide you with anything relevant in its headers.
  *     See HAS_DRAND48_PROTO.
  */
 /* Rand_seed_t:
@@ -3453,4 +3453,10 @@
  */
 /*#define      I_LANGINFO              / **/
 
+/* HAS_PTHREAD_ATFORK:
+ *     This symbol, if defined, indicates that the pthread_atfork routine
+ *     is available setup fork handlers.
+ */
+/*#define HAS_PTHREAD_ATFORK           / **/
+
 #endif

==== //depot/perl/uconfig.sh#44 (xtext) ====
Index: perl/uconfig.sh
--- perl/uconfig.sh.~1~ Thu Jul 12 17:30:05 2001
+++ perl/uconfig.sh     Thu Jul 12 17:30:05 2001
@@ -206,6 +206,7 @@
 d_pipe='undef'
 d_poll='undef'
 d_portable='undef'
+d_pthread_atfork='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'

==== //depot/perl/vos/config.alpha.def#29 (text) ====
Index: perl/vos/config.alpha.def
--- perl/vos/config.alpha.def.~1~       Thu Jul 12 17:30:05 2001
+++ perl/vos/config.alpha.def   Thu Jul 12 17:30:05 2001
@@ -183,6 +183,7 @@
 $d_phostname='undef'
 $d_pipe='define'
 $d_poll='define'
+$d_pthread_atfork='undef'
 $d_pthread_yield='undef'
 $d_pwage='undef'
 $d_pwchange='undef'

==== //depot/perl/vos/config.alpha.h#29 (text) ====
Index: perl/vos/config.alpha.h
--- perl/vos/config.alpha.h.~1~ Thu Jul 12 17:30:05 2001
+++ perl/vos/config.alpha.h     Thu Jul 12 17:30:05 2001
@@ -2933,7 +2933,7 @@
  *     This macro is to be used to generate uniformly distributed
  *     random numbers over the range [0., 1.[.  You may have to supply
  *     an 'extern double drand48();' in your program since SunOS 4.1.3
- *     doesn't provide you with anything relevant in it's headers.
+ *     doesn't provide you with anything relevant in its headers.
  *     See HAS_DRAND48_PROTO.
  */
 /* Rand_seed_t:
@@ -3453,4 +3453,10 @@
  */
 /*#define      I_LANGINFO              /**/
 
+/* HAS_PTHREAD_ATFORK:
+ *     This symbol, if defined, indicates that the pthread_atfork routine
+ *     is available setup fork handlers.
+ */
+/*#define HAS_PTHREAD_ATFORK           /**/
+
 #endif

==== //depot/perl/vos/config.ga.def#29 (text) ====
Index: perl/vos/config.ga.def
--- perl/vos/config.ga.def.~1~  Thu Jul 12 17:30:05 2001
+++ perl/vos/config.ga.def      Thu Jul 12 17:30:05 2001
@@ -183,6 +183,7 @@
 $d_phostname='undef'
 $d_pipe='define'
 $d_poll='define'
+$d_pthread_atfork='undef'
 $d_pthread_yield='undef'
 $d_pwage='undef'
 $d_pwchange='undef'

==== //depot/perl/vos/config.ga.h#28 (text) ====
Index: perl/vos/config.ga.h
--- perl/vos/config.ga.h.~1~    Thu Jul 12 17:30:05 2001
+++ perl/vos/config.ga.h        Thu Jul 12 17:30:05 2001
@@ -2933,7 +2933,7 @@
  *     This macro is to be used to generate uniformly distributed
  *     random numbers over the range [0., 1.[.  You may have to supply
  *     an 'extern double drand48();' in your program since SunOS 4.1.3
- *     doesn't provide you with anything relevant in it's headers.
+ *     doesn't provide you with anything relevant in its headers.
  *     See HAS_DRAND48_PROTO.
  */
 /* Rand_seed_t:
@@ -3453,4 +3453,10 @@
  */
 /*#define      I_LANGINFO              /**/
 
+/* HAS_PTHREAD_ATFORK:
+ *     This symbol, if defined, indicates that the pthread_atfork routine
+ *     is available setup fork handlers.
+ */
+/*#define HAS_PTHREAD_ATFORK           /**/
+
 #endif

==== //depot/perl/win32/config.bc#114 (text) ====
Index: perl/win32/config.bc
--- perl/win32/config.bc.~1~    Thu Jul 12 17:30:05 2001
+++ perl/win32/config.bc        Thu Jul 12 17:30:05 2001
@@ -259,6 +259,7 @@
 d_pipe='define'
 d_poll='undef'
 d_portable='define'
+d_pthread_atfork='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'

==== //depot/perl/win32/config.gc#114 (text) ====
Index: perl/win32/config.gc
--- perl/win32/config.gc.~1~    Thu Jul 12 17:30:05 2001
+++ perl/win32/config.gc        Thu Jul 12 17:30:05 2001
@@ -259,6 +259,7 @@
 d_pipe='define'
 d_poll='undef'
 d_portable='define'
+d_pthread_atfork='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'

==== //depot/perl/win32/config.vc#118 (text) ====
Index: perl/win32/config.vc
--- perl/win32/config.vc.~1~    Thu Jul 12 17:30:05 2001
+++ perl/win32/config.vc        Thu Jul 12 17:30:05 2001
@@ -259,6 +259,7 @@
 d_pipe='define'
 d_poll='undef'
 d_portable='define'
+d_pthread_atfork='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'

==== //depot/perl/win32/config_H.bc#107 (text+w) ====
Index: perl/win32/config_H.bc
--- perl/win32/config_H.bc.~1~  Thu Jul 12 17:30:05 2001
+++ perl/win32/config_H.bc      Thu Jul 12 17:30:05 2001
@@ -2933,7 +2933,7 @@
  *     This macro is to be used to generate uniformly distributed
  *     random numbers over the range [0., 1.[.  You may have to supply
  *     an 'extern double drand48();' in your program since SunOS 4.1.3
- *     doesn't provide you with anything relevant in it's headers.
+ *     doesn't provide you with anything relevant in its headers.
  *     See HAS_DRAND48_PROTO.
  */
 /* Rand_seed_t:
@@ -3453,4 +3453,10 @@
  */
 /*#define      I_LANGINFO              /**/
 
+/* HAS_PTHREAD_ATFORK:
+ *     This symbol, if defined, indicates that the pthread_atfork routine
+ *     is available setup fork handlers.
+ */
+/*#define HAS_PTHREAD_ATFORK           /**/
+
 #endif

==== //depot/perl/win32/config_H.gc#102 (text+w) ====
Index: perl/win32/config_H.gc
--- perl/win32/config_H.gc.~1~  Thu Jul 12 17:30:05 2001
+++ perl/win32/config_H.gc      Thu Jul 12 17:30:05 2001
@@ -2933,7 +2933,7 @@
  *     This macro is to be used to generate uniformly distributed
  *     random numbers over the range [0., 1.[.  You may have to supply
  *     an 'extern double drand48();' in your program since SunOS 4.1.3
- *     doesn't provide you with anything relevant in it's headers.
+ *     doesn't provide you with anything relevant in its headers.
  *     See HAS_DRAND48_PROTO.
  */
 /* Rand_seed_t:
@@ -3453,4 +3453,10 @@
  */
 /*#define      I_LANGINFO              /**/
 
+/* HAS_PTHREAD_ATFORK:
+ *     This symbol, if defined, indicates that the pthread_atfork routine
+ *     is available setup fork handlers.
+ */
+/*#define HAS_PTHREAD_ATFORK           /**/
+
 #endif

==== //depot/perl/win32/config_H.vc#105 (text+w) ====
Index: perl/win32/config_H.vc
--- perl/win32/config_H.vc.~1~  Thu Jul 12 17:30:05 2001
+++ perl/win32/config_H.vc      Thu Jul 12 17:30:05 2001
@@ -2933,7 +2933,7 @@
  *     This macro is to be used to generate uniformly distributed
  *     random numbers over the range [0., 1.[.  You may have to supply
  *     an 'extern double drand48();' in your program since SunOS 4.1.3
- *     doesn't provide you with anything relevant in it's headers.
+ *     doesn't provide you with anything relevant in its headers.
  *     See HAS_DRAND48_PROTO.
  */
 /* Rand_seed_t:
@@ -3453,4 +3453,10 @@
  */
 /*#define      I_LANGINFO              /**/
 
+/* HAS_PTHREAD_ATFORK:
+ *     This symbol, if defined, indicates that the pthread_atfork routine
+ *     is available setup fork handlers.
+ */
+/*#define HAS_PTHREAD_ATFORK           /**/
+
 #endif
End of Patch.

Reply via email to