Bug 54577
Summary: | fscanf() != EOF for empty file | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <itsphone> | ||||
Component: | glibc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED ERRATA | QA Contact: | Aaron Brown <abrown> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.0 | CC: | fweimer | ||||
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-10-19 17:25:52 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
Need Real Name
2001-10-12 20:22:40 UTC
Can you come up with a testcase? It depends on what arguments fscanf gets. Created attachment 34422 [details]
source code that demonstrates EOF problem in fscanf
What glibc do you use? Under glibc-2.2.4-19 (which is the same source as 2.2.4-18.7.0, latest 7.0 errata), I get: fscanf result is -1, EOF value is -1 I performed the standard 7.0 installation. rpm shows glibc 2.1.92 glibc-2.2.4-19 fixes the problem! Thanks. |