Bug 8444
Summary: | <stdio.h> missing prototypes with -DPOSIX_C_SOURCE=199506 | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Jay Turner <jturner> |
Component: | glibc | Assignee: | Cristian Gafton <gafton> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.2 | CC: | fweimer, srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-01-14 20:38:48 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: |
Description
Glen Foster
2000-01-13 15:14:08 UTC
probably teh test suite expects to see themm defined as constants, but there is no standard requiring that. Anyway, this works ofr me also: alien (gafton):~/src/glibc/proto>cat proto.c #define POSIX_C_SOURCE 199506 #include <stdio.h> alien (gafton):~/src/glibc/proto>gcc -E proto.c -c | \ grep "stdin\|stderr\|stdout" extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; extern FILE *stdin; extern FILE *stdout; extern FILE *stderr; |