Date: Thu, 10 Jun 1999 11:50:30 -0700 (PDT) From: gkitchen@cs.ubc.ca To: freebsd-gnats-submit@freebsd.org Subject: gnu/12117: bug compiling fortune.c when NO_REGEX defined Message-ID: <19990610185030.02F6C14F2A@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 12117 >Category: gnu >Synopsis: bug compiling fortune.c when NO_REGEX defined >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 10 12:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Geordy Kitchen >Release: 3.1-STABLE >Organization: Computer Science, UBC >Environment: FreeBSD water.webct.com 3.1-STABLE FreeBSD 3.1-STABLE #0: Mon May 3 14:16:48 PDT 1999 varju@web4.webct.com:/home/build_3/src/sys/compile/WS25 i386 >Description: When compiling fortune.c (in /usr/src/games/fortune/fortune) with -DNO_REGEX, variable pat is undeclared on line 270. >How-To-Repeat: gcc -DNO_REGEX -c /usr/src/games/fortune/fortune/fortune.c >Fix: Move pat = NULL up about 5 lines to variable declaration and the bug is removed. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990610185030.02F6C14F2A>