public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "vapier at gentoo dot org" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sources.redhat.com Subject: [Bug libc/2509] New: glibc printf length modifier (h) bug when using integer conversion (i) Date: Tue, 04 Apr 2006 04:32:00 -0000 [thread overview] Message-ID: <20060404043245.2509.vapier@gentoo.org> (raw) as a user pointed out in a Gentoo bug, the statement: printf("%hi", 0xffff0010); yields -65520 instead of the expected truncated value 16 oddly enough, printf("%hu", 0xffff0010); works as expected tested Gentoo/glibc-2.4/amd64 -- Summary: glibc printf length modifier (h) bug when using integer conversion (i) Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: libc AssignedTo: drepper at redhat dot com ReportedBy: vapier at gentoo dot org CC: glibc-bugs at sources dot redhat dot com,toolchain at gentoo dot org http://sourceware.org/bugzilla/show_bug.cgi?id=2509 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
next reply other threads:[~2006-04-04 4:32 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-04-04 4:32 vapier at gentoo dot org [this message] 2006-04-04 4:33 ` [Bug libc/2509] " vapier at gentoo dot org 2006-05-02 20:26 ` drepper at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20060404043245.2509.vapier@gentoo.org \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sources.redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).