Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 11172 invoked by uid 6000); 22 Oct 1997 00:51:59 -0000 Received: (qmail 11083 invoked from network); 22 Oct 1997 00:51:58 -0000 Received: from twinlark.arctic.org (204.62.130.91) by taz.hyperreal.org with SMTP; 22 Oct 1997 00:51:58 -0000 Received: (qmail 17991 invoked by uid 500); 22 Oct 1997 00:52:39 -0000 Date: Tue, 21 Oct 1997 17:52:39 -0700 (PDT) From: Dean Gaudet To: new-httpd@apache.org Subject: os-aix/1267: memmove() must be defined as bcopy() on AIX 1.X (fwd) Message-ID: Organization: Transmeta Corp. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org +1 if bcopy is defined to handle overlaping movements... I'm pretty sure it is, maybe someone with AIX man pages can check. Dean ---------- Forwarded message ---------- Date: 20 Oct 1997 11:29:01 -0000 From: David Schuler To: apbugs@hyperreal.org Subject: os-aix/1267: memmove() must be defined as bcopy() on AIX 1.X >Number: 1267 >Category: os-aix >Synopsis: memmove() must be defined as bcopy() on AIX 1.X >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Oct 20 04:30:01 PDT 1997 >Last-Modified: >Originator: schuld@btv.ibm.com >Organization: apache >Release: 1.2.4 >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. >How-To-Repeat: Compile on an AIX 1.3 system with mod_proxy. >Fix: % diff -c src/conf.h- src/conf.h *** src/conf.h- Fri Aug 15 13:29:49 1997 --- src/conf.h Thu Oct 16 09:52:34 1997 *************** *** 150,156 **** #undef NO_SETSID #define HAVE_SYS_SELECT_H #define JMP_BUF sigjmp_buf ! #ifndef __ps2__ #define HAVE_MMAP #define DEFAULT_GROUP "nobody" #endif --- 150,158 ---- #undef NO_SETSID #define HAVE_SYS_SELECT_H #define JMP_BUF sigjmp_buf ! #ifdef __ps2__ ! #define memmove(a,b,c) bcopy(b,a,c) ! #else #define HAVE_MMAP #define DEFAULT_GROUP "nobody" #endif % %0 >Audit-Trail: >Unformatted: