Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 79703 - re_comp and re_exec man pages don't document _REGEX_RE_COMP
re_comp and re_exec man pages don't document _REGEX_RE_COMP
Product: Red Hat Linux
Classification: Retired
Component: man-pages (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Eido Inoue
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2002-12-15 16:56 EST by dwmalone
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version: 1.60-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-08-28 16:20:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description dwmalone 2002-12-15 16:56:12 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
Gecko/20020508 Netscape6/6.2.3

Description of problem:
The re_comp and re_exec man pages suggest includeing <regex.h>
for re_comp and re_exec, but they don't tell you that you need
to define _REGEX_RE_COMP (or that these functions are probably

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.man re_exec
2.grep -5 re_exec /usr/include/regex.h

Actual Results:  21:56:turing 11% gcc -W -Wall -c re_test.c
re_test.c: In function `main':
re_test.c:12: warning: implicit declaration of function `re_comp'
re_test.c:12: warning: assignment makes pointer from integer without a cast
re_test.c:16: warning: implicit declaration of function `re_exec'

Expected Results:  21:57:turing 13% gcc -D_REGEX_RE_COMP -W -Wall -c re_test.c
21:57:turing 13%

Additional info:

Showed up while investigating
Comment 1 Jakub Jelinek 2003-01-07 11:59:36 EST
This is a documentation bug.
Comment 2 Eido Inoue 2003-08-28 16:20:46 EDT
fixed in 1.60-1

Note You need to log in before you can comment on or make changes to this bug.