-----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 [EMAIL PROTECTED] -----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-----