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 ": " Message-ID: <199608120858.KAA03972@diamant.noc.dfn.de> Resent-Message-ID: <199608120900.CAA09821@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <stdio.h> #include <errno.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608120858.KAA03972>