Mailing List Archive

svn commit: r1910797 - /perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/ServerUtil.pod
Author: stevehay
Date: Wed Jul 5 18:25:13 2023
New Revision: 1910797

URL: http://svn.apache.org/viewvc?rev=1910797&view=rev
Log:
Do not use deprecated ap_get_server_version() in Apache2::ServerUtil

It produced warnings with httpd 2.4.

Patch by Petr Písa? <ppisar@redhat.com> from https://rt.cpan.org/Ticket/Display.html?id=124972

Modified:
perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/ServerUtil.pod

Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/ServerUtil.pod
URL: http://svn.apache.org/viewvc/perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/ServerUtil.pod?rev=1910797&r1=1910796&r2=1910797&view=diff
==============================================================================
--- perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/ServerUtil.pod (original)
+++ perl/modperl/docs/trunk/src/docs/2.0/api/Apache2/ServerUtil.pod Wed Jul 5 18:25:13 2023
@@ -29,7 +29,6 @@ Apache2::ServerUtil - Perl API for Apach
# server build and version info:
$when_built = Apache2::ServerUtil::get_server_built();
$description = Apache2::ServerUtil::get_server_description();
- $version = Apache2::ServerUtil::get_server_version();
$banner = Apache2::ServerUtil::get_server_banner();

# ServerRoot value
@@ -365,6 +364,8 @@ Get the server version string

$version = Apache2::ServerUtil::get_server_version();

+This function is deprecated. Use C<get_server_banner()> instead.
+
=over 4

=item ret: C<$version> ( string )



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org