|
Bugzilla – Full Text Bug Listing |
| Summary: | bad preprocessor directives in /usr/inclide/asm/pci-direct.h and others | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Peter Breitenlohner <peb> |
| Component: | Basesystem | Assignee: | Andreas Jaeger <aj> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | aj |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Peter Breitenlohner
2006-03-03 13:48:21 UTC
Let's use the following in the script:
J=`echo $I | tr a-z.- A-Z__`
which results in the desired: #ifndef __X86_64_ASM_STUB__PCI_DIRECT_H__ #define __X86_64_ASM_STUB__PCI_DIRECT_H__ (In reply to comment #2) > which results in the desired: > > #ifndef __X86_64_ASM_STUB__PCI_DIRECT_H__ > #define __X86_64_ASM_STUB__PCI_DIRECT_H__ > Exactly what I wanted to trigger. A related question: Should these header wrappers really be protected from multiple inclusions? Some of the real headers in asm-i386 and asm-x86_64 are not so protected! Is that on purpose or just an oversight? I guess that's an oversight. AFAIR these defines are just an optimization, they are not really needed. If they break anything, we should look at them. |