httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47951] New: use libtool --mode=install install instead of cp command
Date Wed, 07 Oct 2009 08:39:17 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47951

           Summary: use libtool --mode=install install instead of cp
                    command
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: support
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: hirose31@gmail.com


Created an attachment (id=24352)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24352)
patch for build/instdso.sh

apix -i do copy mod_foo.so with cp command (libtool --mode=install cp).
copying mod_foo.so with cp command cause httpd process segmentation fault.

Because cp command overwrites existing mod_foo.so file.

On the other hand, install command do unlink(2) mod_foo.so before copy module
file. This is safe. so if user has install command, it is better to use install
command (libtool --mode=install install) instead of cp command.

see also attached patch file.

thanks.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message