Received: (qmail 13020 invoked by uid 2012); 20 Oct 1997 15:02:39 -0000 Message-Id: <19971020150239.13019.qmail@hyperreal.org> Date: 20 Oct 1997 15:02:39 -0000 From: David Schuler Reply-To: schuld@btv.ibm.com To: apbugs@hyperreal.org Subject: memmove() must be defined as bcopy() on AIX 1.X X-Send-Pr-Version: 3.2 >Number: 1271 >Category: os-aix >Synopsis: memmove() must be defined as bcopy() on AIX 1.X >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: duplicate >Submitter-Id: apache >Arrival-Date: Mon Oct 20 08:10:00 PDT 1997 >Last-Modified: Mon Oct 20 08:14:59 PDT 1997 >Originator: schuld@btv.ibm.com >Organization: >Release: 1.3b2 >Environment: Operating System: AIX 1.3.0 ptf 0024 (i386) Compiler: gcc 2.7.2.3 Compiler Options: -O3 -m486 >Description: The function memmove() is not defined on AIX 1.X. A patch (included below) fixes this problem. It appears that the memmove() function is only called when the mod_proxy module is included in the compiled code. Thus, I only recently caught this one when I started to experiment with using the proxy module. NOTE: This is the same as PR number 1267, but this is against Apache 1.3b2 >How-To-Repeat: Compile on an AIX 1.3 system with module modules/proxy/libproxy.a >Fix: % diff -c main/conf.h- main/conf.h *** main/conf.h- Mon Oct 20 07:44:43 1997 --- main/conf.h Mon Oct 20 07:45:01 1997 *************** *** 181,187 **** #undef NO_KILLPG #undef NO_SETSID #define HAVE_SYS_SELECT_H ! #ifndef __ps2__ #define HAVE_MMAP #define USE_MMAP_FILES #define HAVE_SYSLOG --- 181,189 ---- #undef NO_KILLPG #undef NO_SETSID #define HAVE_SYS_SELECT_H ! #ifdef __ps2__ ! #define memmove(a,b,c) bcopy(b,a,c) ! #else #define HAVE_MMAP #define USE_MMAP_FILES #define HAVE_SYSLOG %2 >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: Lars.Eilebrecht@unix-ag.org State-Changed-When: Mon Oct 20 08:14:59 PDT 1997 State-Changed-Why: Dupe of PR#1267. Class-Changed-From-To: sw-bug-duplicate Class-Changed-By: Lars.Eilebrecht@unix-ag.org Class-Changed-When: Mon Oct 20 08:14:59 PDT 1997 >Unformatted: