You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ta...@apache.org on 2009/10/09 18:57:21 UTC
svn commit: r823613 - in /httpd/httpd/trunk: CHANGES build/instdso.sh
Author: takashi
Date: Fri Oct 9 16:57:20 2009
New Revision: 823613
URL: http://svn.apache.org/viewvc?rev=823613&view=rev
Log:
Build: Use install instead of cp if available on
installing modules to avoid segfault.
Submitted by: <hirose31 gmail.com>
Modified:
httpd/httpd/trunk/CHANGES
httpd/httpd/trunk/build/instdso.sh
Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=823613&r1=823612&r2=823613&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Fri Oct 9 16:57:20 2009
@@ -10,6 +10,9 @@
mod_proxy_ftp: NULL pointer dereference on error paths.
[Stefan Fritsch <sf fritsch.de>, Joe Orton]
+ *) Build: Use install instead of cp if available on installing
+ modules to avoid segmentation fault. [hirose31 gmail.com]
+
*) mod_cache: correctly consider s-maxage in cacheability
decisions. [Dan Poirier]
Modified: httpd/httpd/trunk/build/instdso.sh
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/build/instdso.sh?rev=823613&r1=823612&r2=823613&view=diff
==============================================================================
--- httpd/httpd/trunk/build/instdso.sh (original)
+++ httpd/httpd/trunk/build/instdso.sh Fri Oct 9 16:57:20 2009
@@ -49,7 +49,8 @@
$CMD || exit $?
fi
-CMD="$SH_LIBTOOL --mode=install cp $DSOARCHIVE $TARGETDIR/"
+type install >/dev/null 2>&1 && INSTALL_CMD=install || INSTALL_CMD=cp
+CMD="$SH_LIBTOOL --mode=install $INSTALL_CMD $DSOARCHIVE $TARGETDIR/"
echo $CMD
$CMD || exit $?