From owner-freebsd-bugs Mon Aug 12 02:00:43 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA09836 for bugs-outgoing; Mon, 12 Aug 1996 02:00:43 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA09821; Mon, 12 Aug 1996 02:00:17 -0700 (PDT) Resent-Date: Mon, 12 Aug 1996 02:00:17 -0700 (PDT) Resent-Message-Id: <199608120900.CAA09821@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received:"from noc.belwue.de (root@noc.BelWue.DE [129.143.2.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA09710 for" ; Mon, 12 Aug 1996 01:58:56.-0700 (PDT) Received: from rubin.noc.dfn.de (rubin.noc.dfn.de [193.174.247.201]) by noc.belwue.de with SMTP id KAA25564 (8.6.13/IDA-1.6 for ); Mon, 12 Aug 1996 10:58:47 +0200 Received: from diamant.noc.dfn.de by rubin.noc.dfn.de (4.1/BelWue-2.0SUN) id AA17185; Mon, 12 Aug 96 10:58:47 +0200 Received: by diamant.noc.dfn.de (SMI-8.6/SVR4/BelWue-1.0.3) id KAA03972; Mon, 12 Aug 1996 10:58:36 +0200 Message-Id: <199608120858.KAA03972@diamant.noc.dfn.de> Date: Mon, 12 Aug 1996 10:58:35 +0200 (MET DST) From: Schweikhardt@RUS.Uni-Stuttgart.DE (Jens Schweikhardt) To: FreeBSD-gnats-submit@freebsd.org Subject: bin/1492: perror ("") does not prepend ": " Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1492 >Category: bin >Synopsis: perror ("") does not prepend ": " >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 12 02:00:01 PDT 1996 >Last-Modified: >Originator: Jens Schweikhardt >Organization: U o Stuttgart >Release: FreeBSD 2.1-STABLE i386 >Environment: Any >Description: perror () does not prepend ": " for the non-NULL argument "". >How-To-Repeat: % cat tst.c #include #include int main (void) { errno = EDOM; perror (NULL); perror (""); perror ("progname"); return 0; } % cc tst.c % ./a.out Numerical argument out of domain Numerical argument out of domain progname: Numerical argument out of domain The second line should be : Numerical argument out of domain >Fix: >Audit-Trail: >Unformatted: To: FreeBSD-gnats-submit@freebsd.org Subject: perror(3) not ANSI conformant From: schweikhardt@rus.uni-stuttgart.de Reply-To: schweikhardt@rus.uni-stuttgart.de X-send-pr-version: 3.2