Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 64225 Details for
Bug 100172
sys-libs/glibc-2.3.5 + gcc-3.4: fprintf returns wrong value
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
test case
test.c (text/plain), 326 bytes, created by
Randall Nortman
on 2005-07-24 18:12:29 UTC
(
hide
)
Description:
test case
Filename:
MIME Type:
Creator:
Randall Nortman
Created:
2005-07-24 18:12:29 UTC
Size:
326 bytes
patch
obsolete
>#include <stdio.h> > >int main(int argc, char* argv[]) >{ > int rc = 0; > > rc = fprintf(stdout, "%s", "aa\n"); /* rc=1 on my amd64 system */ > printf("rc=%d (should be 3)\n", rc); > > rc = fprintf(stdout, "%s\n", "aa"); > printf("rc=%d (should be 3)\n", rc); > > rc = printf("%s", "aa\n"); > printf("rc=%d (should be 3)\n", rc); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 100172
: 64225 |
64279