bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] init.sh: portability fix: use env's POSIX-specified -i optio


From: Paul Eggert
Subject: Re: [PATCH] init.sh: portability fix: use env's POSIX-specified -i option not -u
Date: Tue, 06 Apr 2010 15:02:33 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Jim Meyering <address@hidden> writes:

> Just to be clear: we're taking this slightly kludgey alternative
> solely to accommodate theoretical non-POSIX systems.

Well, no, it's for POSIX systems too.  POSIX says that if you clear all
environment variables, the resulting behavior need not conform to POSIX
any more.  See the rationale of the "env" command in the latest POSIX
spec.  This is a fairly recent addition to the POSIX spec, and it came
up because of some systems that fail to conform to POSIX unless certain
environment variables are set correctly (it's not just POSIXLY_CORRECT
and Linux; it's other stuff).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]