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: [email protected]
        ReportedBy: [email protected]


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to