From owner-freebsd-standards@FreeBSD.ORG Tue Apr 22 14:30:06 2003 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 003FE37B4DB for ; Tue, 22 Apr 2003 14:30:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C77243FBF for ; Tue, 22 Apr 2003 14:30:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3MLU5Up066896 for ; Tue, 22 Apr 2003 14:30:05 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3MLU5JQ066895; Tue, 22 Apr 2003 14:30:05 -0700 (PDT) Date: Tue, 22 Apr 2003 14:30:05 -0700 (PDT) Message-Id: <200304222130.h3MLU5JQ066895@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Bruce Evans Subject: Re: standards/51292: [PATCH] add ecvt()/fcvt()/gcvt() functions (SUSv3) X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bruce Evans List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2003 21:30:06 -0000 The following reply was made to PR standards/51292; it has been noted by GNATS. From: Bruce Evans To: "Sergey A.Osokin" Cc: FreeBSD-gnats-submit@freebsd.org, "" Subject: Re: standards/51292: [PATCH] add ecvt()/fcvt()/gcvt() functions (SUSv3) Date: Wed, 23 Apr 2003 07:28:49 +1000 (EST) On Wed, 23 Apr 2003, Sergey A.Osokin wrote: > >Description: > add ecvt()/fcvt()/gcvt() functions (SUSv3) (obtained from OpenBSD) > + add locale-specific tricks > +.Sh DESCRIPTION > +.Bf -symbolic > +These functions are provided for compatibility with legacy code. > +New code should use the > +.Xr snprintf 3 > +function for improved safety and portability. This statement was true 15 years ago when C90, (er, only 13 years ago) didn't standardize these functions. At least FreeBSD hasn't needed them for 10 years. Bringing them back now is a bug in whatever standards have them IMO. Unfortunately, POSIX.1 has them in its XSI section. Bruce