From owner-freebsd-questions Tue Jan 28 10:52:30 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFEEC37B487 for ; Tue, 28 Jan 2003 10:52:26 -0800 (PST) Received: from ip68-14-63-240.no.no.cox.net (ip68-14-63-240.no.no.cox.net [68.14.63.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF17D43E4A for ; Tue, 28 Jan 2003 10:52:25 -0800 (PST) (envelope-from conrads@ip68-14-63-240.no.no.cox.net) Received: from ip68-14-63-240.no.no.cox.net (localhost [127.0.0.1]) by ip68-14-63-240.no.no.cox.net (8.12.6/8.12.6) with ESMTP id h0SIs3vY004717; Tue, 28 Jan 2003 12:54:03 -0600 (CST) (envelope-from conrads@ip68-14-63-240.no.no.cox.net) Received: (from conrads@localhost) by ip68-14-63-240.no.no.cox.net (8.12.6/8.12.6/Submit) id h0SIrwQS004716; Tue, 28 Jan 2003 12:53:58 -0600 (CST) Message-ID: X-Mailer: XFMail 1.5.3 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <15926.53018.149389.480465@chlx255.ch.intel.com> Date: Tue, 28 Jan 2003 12:53:58 -0600 (CST) Organization: A Rag-Tag Band of Drug-Crazed Hippies From: Conrad Sabatier To: John Reynolds~ Subject: Re: is our printf(1) behavior correct w.r.t \0 escapes? Cc: questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 28-Jan-2003 John Reynolds~ wrote: > > [ On Tuesday, January 28, Conrad Sabatier wrote: ] > >> It may very well be that printf (or libc?) has a bug under -stable. Are you >> using any unusual optimization settings in /etc/make.conf, by the way? When >> did you last upgrade? > > nope, nothing unusual. > > CFLAGS= -O -pipe > > The last time I updated and installed world/kernel was Dec 26th of 2002 > (4.7-STABLE). > > Maybe if it's not a libc problem but just a printf(1) src problem we could > get an MFC done ... Unless it's already been done. :-) Can you check the RCS Id in /usr/src/usr.bin/printf/printf.c? Here's what I have: $FreeBSD: src/usr.bin/printf/printf.c,v 1.26 2002/09/04 23:29:05 dwmalone Exp $ > Thanks for the info. At least we know that -current acts like other OS's. Now, if we have identical versions, we have a bona fide mystery on our hands here. :-) -- Conrad Sabatier - "In Unix veritas" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message