/etc/profile

Eric Blake eblake@redhat.com
Tue Aug 21 19:27:00 GMT 2012


On 08/21/2012 09:56 AM, Achim Gratz wrote:
> Eric Blake writes:
>> Sorry, POSIX requires that to leave LC_ALL set after the function
>> call,
> 
> Interesting.  Where is that specified?

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_05

When a function is executed, it shall have the syntax-error and
variable-assignment properties described for special built-in utilities
in the enumerated list at the beginning of Special Built-In Utilities.

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_14

Variable assignments specified with special built-in utilities remain in
effect after the built-in completes; this shall not be the case with a
regular built-in or other utility.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20120821/1851fe06/attachment.sig>


More information about the Cygwin mailing list