Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2002 15:03:50 -0400
From:      Mike Barcroft <mike@FreeBSD.org>
To:        "J. Mallett" <jmallett@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/xargs xargs.c
Message-ID:  <20020505150350.D52212@espresso.q9media.com>
In-Reply-To: <200205050246.g452ksE42808@freefall.freebsd.org>; from jmallett@FreeBSD.org on Sat, May 04, 2002 at 07:46:54PM -0700
References:  <200205050246.g452ksE42808@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
J. Mallett <jmallett@FreeBSD.org> writes:
>   Change use of err(3) in situations where malloc(3) will be setting errno to
>   errx(3) since assuming malloc(3) sets errno is non-portable, and provides no
>   more useful information in the context of FreeBSD.

Just to be clear, SUS did standardize ENOMEM, which is now part of
POSIX.1-2001.  Also, err(3) and errx(3) are unportable to begin with,
so I don't think that's a valid argument.  I agree that it provides no
more useful information, with perhaps the exception of future locale-
specific translations.

Best regards,
Mike Barcroft

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020505150350.D52212>