[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: improve "posix-modules --version"
From: |
Eric Blake |
Subject: |
Re: improve "posix-modules --version" |
Date: |
Sat, 27 Sep 2008 16:52:42 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Bruno Haible on 9/26/2008 3:57 PM:
>> And this falls foul of autoconf's advice:
>> http://www.gnu.org/software/autoconf/manual/autoconf.html#Shell-Functions
>> | Inside a function, IRIX sh sets `$0' to the function name.
>
> Confirmed with IRIX 6.5 /bin/sh.
In my testing, zsh 4.3.4 also does this if you don't use 'emulate sh'.
>
>> OK to check in this followup?
>
> Thanks for cleaning up all this. I would like if you could mention the newly
> added implicit parameter 'progname' in comments for all functions which need
> it, directly or indirectly:
>
> # Input:
> # - progname name of this program
Done.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkjeuToACgkQ84KuGfSFAYD08ACfQeSt4t0Y3s7OpGXRRSrg7p2i
0gkAmwb/9lygbKMUjvTrZKjNgKOdqF2/
=Ie+Q
-----END PGP SIGNATURE-----