[DOC-CVS] [doc-base] master: Remove --disable-segfault-error (#285)
[email protected] (Kamil Tekiela via GitHub) Thu, 23 Apr 2026 18:00:24 +0000
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Kamil Tekiela (kamil-tekiela)
Committer: GitHub (web-flow)
Pusher: kamil-tekiela
Date: 2026-04-23T19:00:20+01:00
Commit: https://github.com/php/doc-base/commit/0eb3611eccc1b1c28dc2bcc5338fdba1e2c678f8
Raw diff: https://github.com/php/doc-base/commit/0eb3611eccc1b1c28dc2bcc5338fdba1e2c678f8.diff
Remove --disable-segfault-error (#285)
Changed paths:
M configure.php
Diff:
diff --git a/configure.php b/configure.php
index c32723fa58..6e11b0ef55 100755
--- a/configure.php
+++ b/configure.php
@@ -69,8 +69,6 @@ function usage() // {{{
even if it fails validation [{$acd['FORCE_DOM_SAVE']}]
--enable-chm Enable Windows HTML Help Edition pages [{$acd['CHMENABLED']}]
--enable-xml-details Enable detailed XML error messages [{$acd['DETAILED_ERRORMSG']}]
- --disable-segfault-error LIBXML may segfault with broken XML, use this
- if it does [{$acd['SEGFAULT_ERROR']}]
--disable-version-files Do not merge the extension specific
version.xml files
--disable-sources-file Do not generate sources.xml file
@@ -309,7 +307,6 @@ function find_xml_files($path) // {{{
'FORCE_DOM_SAVE' => 'no',
'PARTIAL' => 'no',
'DETAILED_ERRORMSG' => 'no',
- 'SEGFAULT_ERROR' => 'yes',
'VERSION_FILES' => 'yes',
'SOURCES_FILE' => 'yes',
'HISTORY_FILE' => 'yes',
@@ -413,10 +410,6 @@ function find_xml_files($path) // {{{
$ac['DETAILED_ERRORMSG'] = $v;
break;
- case 'segfault-error':
- $ac['SEGFAULT_ERROR'] = $v;
- break;
-
case 'version-files':
$ac['VERSION_FILES'] = $v;
break;
@@ -543,9 +536,6 @@ function find_xml_files($path) // {{{
checking('whether to enable detailed XML error messages');
checkvalue($ac['DETAILED_ERRORMSG']);
-checking('whether to enable detailed error reporting (may segfault)');
-checkvalue($ac['SEGFAULT_ERROR']);
-
if ($ac["GENERATE"] != "no") {
$ac["ONLYDIR"] = dirname(realpath($ac["GENERATE"]));
}
@@ -611,9 +601,7 @@ function xml_configure()
file_put_contents( __DIR__ . "/temp/manual.conf" , implode( "\n" , $conf ) );
}
-if ($ac['SEGFAULT_ERROR'] === 'yes') {
- libxml_use_internal_errors(true);
-}
+libxml_use_internal_errors(true);
globbetyglob("{$ac['basedir']}/scripts", 'make_scripts_executable');