Bug 28633
Summary: | Fixes for glob.h and fnmatch.h on non-GNU systems | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Joe Orton <jorton> | ||||||
Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||||
Status: | CLOSED WORKSFORME | QA Contact: | David Lawrence <dkl> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 7.0 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2001-02-22 16:33:18 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Joe Orton
2001-02-21 17:44:31 UTC
Created attachment 10660 [details]
Patch for glob.h
Created attachment 10661 [details]
Patch for fnmatch.h
FWIW, these are exact copies of what was in glibc, stolen for portability retrofitting on non-GNU systems, presumably as portable as glibc is (i.e. failrly portable). What's worng with simply adding -D_GNU_SOURCE when compiling rpm always, as that is essentially what is intended (i.e. GNU extensions to globbing) even though the includes are in the rpm tree rather than the glibc tree on non-GNU systems? That sounds like a better fix, I'll give it a go, thanks! OK, reopen if adding -D_GNU_SOURCE doesn't work for you. BTW, some instructions on what you're doing wrto LDFLAGS, CFLAGS, etc to build rpm on non-linuc platforms would be gratefully received. I'll even write it up if you just send me the output of a build for each platform. |