This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/366] Compiling on 64-bit yields segmentation fault when run, on 32-bit runs fine.
- From: "aj at suse dot de" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 3 Sep 2004 04:23:20 -0000
- Subject: [Bug libc/366] Compiling on 64-bit yields segmentation fault when run, on 32-bit runs fine.
- References: <20040903023911.366.dafrabbit@yahoo.com>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From aj at suse dot de 2004-09-03 04:23 -------
The ISO C99 standard in section 7.15 #3 forbids to usages of va_list without
a va_end/va_start. Removing one vfprintf call from io_vprint fixes the problem.
Your program is not valid C, it just works by chance on 32-bit.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sources.redhat.com/bugzilla/show_bug.cgi?id=366
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.