Bug 77152
Summary: | printf man page inconsistent with what glibc does | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | ldd | ||||
Component: | man-pages | Assignee: | Eido Inoue <havill> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Ben Levenson <benl> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 8.0 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 1.66-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-02-19 17:19:57 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
ldd
2002-11-01 20:33:03 UTC
Created attachment 83084 [details]
Test source code to reproduce problem.
fixed in man-pages-1.58-1:
> A negative field width is taken as a `-' flag followed by a positive field width.
oops, you were talking about the PRECISION. You're right: according to C99 and C89 (and the glibc info pages), if you write a negative number for the precision, the default precision should apply, not zero nor the absolute value. corrected in the POSIX version of the printf man-pages-1.66 to get the POSIX version, invoke man with man 3p printf |