From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24141 invoked by alias); 3 Sep 2004 13:01:47 -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 24082 invoked by uid 48); 3 Sep 2004 13:01:41 -0000 Date: Fri, 03 Sep 2004 13:01:00 -0000 Message-ID: <20040903130141.24080.qmail@sourceware.org> From: "dafrabbit at yahoo dot com" 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/msg00023.txt.bz2 List-Id: ------- Additional Comments From dafrabbit at yahoo dot com 2004-09-03 13:01 ------- (In reply to comment #3) > Well, if you really need two vprintf calls, you can use > va_list ap2; > va_copy (ap2, ap); > vfprintf(out_fp, fmt, ap); > vfprintf(log_stream_g, fmt, ap2); > va_end (ap2); > Well, you then make it difficult to do the task to pass variable number of arguments from one subroutine to another subroutine. I do't know whether C forbids that. Your suggestion is to ask people not to use subroutines. I hope it is not that restrictive. -- 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.