Received: (qmail 5512 invoked by uid 2012); 21 Nov 1997 21:45:44 -0000 Message-Id: <19971121214544.5511.qmail@hyperreal.org> Date: 21 Nov 1997 21:45:44 -0000 From: Andrey Chernov Reply-To: ache@nagual.pp.ru To: apbugs@hyperreal.org Subject: FreeBSD Configure needs additional tuning (ctype and regex) X-Send-Pr-Version: 3.2 >Number: 1450 >Category: os-freebsd >Synopsis: FreeBSD Configure needs additional tuning (ctype and regex) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Nov 21 13:50:01 PST 1997 >Last-Modified: Sat Feb 21 06:57:47 PST 1998 >Originator: ache@nagual.pp.ru >Organization: >Release: 1.3b3 >Environment: FreeBSD 3.0-CURRENT >Description: Two problems are here: 1) Characers are not unsigned making all ctype operations with 8bit data dangerous. For more info see PR#1305 2) FreeBSD already have Henry Spencer regex in libc, so don't need yet one from apache. >How-To-Repeat: >Fix: Apply this patch: *** src/Configure.orig Sat Nov 15 22:04:47 1997 --- src/Configure Fri Nov 21 22:15:54 1997 *************** *** 345,350 **** --- 345,352 ---- ;; *-freebsd*) OS='FreeBSD' + CFLAGS="$CFLAGS -funsigned-char" + DEF_WANTHSREGEX=no LIBS="$LIBS -lcrypt" DBM_LIB="" DB_LIB="" %0 >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: jim State-Changed-When: Sat Feb 21 06:57:47 PST 1998 State-Changed-Why: We know determine if we are FreeBSD 3 or earlier. If v3, then we add -funsigned-char and use System regex (fixed in 1.3b6) >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]