From 696b6288d781df6bee4285538c6473018d98104d Mon Sep 17 00:00:00 2001
From: "jake%bugzilla.org" <>
Date: Wed, 2 Apr 2003 08:40:56 +0000
Subject: Bug 171674 - Adding a section to the Troubleshooting section
describing how to fix the File::Temp problems in perl 5.6.0.
---
docs/sgml/filetemp.patch | 18 +++++++++++++++
docs/sgml/installation.sgml | 56 +++++++++++++++++++++++++++++++++++++++++++++
docs/xml/filetemp.patch | 18 +++++++++++++++
docs/xml/installation.xml | 56 +++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 148 insertions(+)
create mode 100644 docs/sgml/filetemp.patch
create mode 100644 docs/xml/filetemp.patch
diff --git a/docs/sgml/filetemp.patch b/docs/sgml/filetemp.patch
new file mode 100644
index 000000000..9fb70adce
--- /dev/null
+++ b/docs/sgml/filetemp.patch
@@ -0,0 +1,18 @@
+--- File/Temp.pm.orig Thu Feb 6 16:26:00 2003
++++ File/Temp.pm Thu Feb 6 16:26:23 2003
+@@ -205,6 +205,7 @@
+ # eg CGI::Carp
+ local $SIG{__DIE__} = sub {};
+ local $SIG{__WARN__} = sub {};
++ local *CORE::GLOBAL::die = sub {};
+ $bit = &$func();
+ 1;
+ };
+@@ -226,6 +227,7 @@
+ # eg CGI::Carp
+ local $SIG{__DIE__} = sub {};
+ local $SIG{__WARN__} = sub {};
++ local *CORE::GLOBAL::die = sub {};
+ $bit = &$func();
+ 1;
+ };
diff --git a/docs/sgml/installation.sgml b/docs/sgml/installation.sgml
index 9f94feb7a..68a911b86 100644
--- a/docs/sgml/installation.sgml
+++ b/docs/sgml/installation.sgml
@@ -1565,6 +1565,62 @@ proc filter_deny { why } {
as root to fix this problem.
+
+
+ Your vendor has not defined Fcntl macro O_NOINHERIT
+
+ This is caused by a bug in the version of
+ File::Temp that is distributed with perl
+ 5.6.0. Many minor variations of this error have been reported. Examples
+ can be found in .
+
+
+
+
+ Numerous people have reported that upgrading to version 5.6.1
+ or higher solved the problem for them. A less involved fix is to apply
+ the patch in . The patch is also
+ available as a patch file.
+
+
+
+
diff --git a/docs/xml/filetemp.patch b/docs/xml/filetemp.patch
new file mode 100644
index 000000000..9fb70adce
--- /dev/null
+++ b/docs/xml/filetemp.patch
@@ -0,0 +1,18 @@
+--- File/Temp.pm.orig Thu Feb 6 16:26:00 2003
++++ File/Temp.pm Thu Feb 6 16:26:23 2003
+@@ -205,6 +205,7 @@
+ # eg CGI::Carp
+ local $SIG{__DIE__} = sub {};
+ local $SIG{__WARN__} = sub {};
++ local *CORE::GLOBAL::die = sub {};
+ $bit = &$func();
+ 1;
+ };
+@@ -226,6 +227,7 @@
+ # eg CGI::Carp
+ local $SIG{__DIE__} = sub {};
+ local $SIG{__WARN__} = sub {};
++ local *CORE::GLOBAL::die = sub {};
+ $bit = &$func();
+ 1;
+ };
diff --git a/docs/xml/installation.xml b/docs/xml/installation.xml
index 9f94feb7a..68a911b86 100644
--- a/docs/xml/installation.xml
+++ b/docs/xml/installation.xml
@@ -1565,6 +1565,62 @@ proc filter_deny { why } {
as root to fix this problem.
+
+
+ Your vendor has not defined Fcntl macro O_NOINHERIT
+
+ This is caused by a bug in the version of
+ File::Temp that is distributed with perl
+ 5.6.0. Many minor variations of this error have been reported. Examples
+ can be found in .
+
+
+
+
+ Numerous people have reported that upgrading to version 5.6.1
+ or higher solved the problem for them. A less involved fix is to apply
+ the patch in . The patch is also
+ available as a patch file.
+
+
+
+
--
cgit v1.2.3-24-g4f1b