This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/366] Compiling on 64-bit yields segmentation fault when run, on 32-bit runs fine.


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]