From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16539 invoked by alias); 3 Sep 2004 04:23:21 -0000 Mailing-List: contact glibc-bugs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sources.redhat.com Received: (qmail 16530 invoked by uid 48); 3 Sep 2004 04:23:20 -0000 Date: Fri, 03 Sep 2004 04:23:00 -0000 Message-ID: <20040903042320.16526.qmail@sourceware.org> From: "aj at suse dot de" To: glibc-bugs@sources.redhat.com In-Reply-To: <20040903023911.366.dafrabbit@yahoo.com> References: <20040903023911.366.dafrabbit@yahoo.com> Reply-To: sourceware-bugzilla@sources.redhat.com Subject: [Bug libc/366] Compiling on 64-bit yields segmentation fault when run, on 32-bit runs fine. X-Bugzilla-Reason: CC X-SW-Source: 2004-09/txt/msg00016.txt.bz2 List-Id: ------- 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.