Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2010 20:59:31 GMT
From:      kib@FreeBSD.org
To:        jschauma@netmeister.org, kib@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: bin/132182: uname(1) uses UNAME_<flag> variables even if those are empty
Message-ID:  <201004182059.o3IKxVaB071847@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: uname(1) uses UNAME_<flag> variables even if those are empty

State-Changed-From-To: open->closed
State-Changed-By: kib
State-Changed-When: Sun Apr 18 20:57:40 UTC 2010
State-Changed-Why: 
I think that uname(1) behaviour is right. There is no reason to special-case
any value for the environment variables. Somebody might really want the
empty values for whatever reason.

Your case is better handled by usual trick of wrapping the invocation
of the program with env(1), where you can set or _unset_ any environment
variable.

http://www.freebsd.org/cgi/query-pr.cgi?pr=132182



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