Re: use of -fno-common on Darwin

2006-01-10 Thread Bruno Haible
Paul Eggert wrote: Peter O'Gorman [EMAIL PROTECTED] writes: getprogname(3), if it exists, can be used as well as other alternatives (e.g. argv[0]). Thanks, I wasn't aware of the BSD getprogname until now. Me too. How about this proposal? * Change the progname module to use the BSD

Re: use of -fno-common on Darwin

2006-01-10 Thread James Youngman
On Tue, Jan 10, 2006 at 11:07:20PM +0900, Peter O'Gorman wrote: char * get_prog_name(void) { char * name; if (prog_name) name = prog_name; else { #if defined(HAVE_GETPROGNAME) #include stdlib.h name = getprogname(); #elif

use of -fno-common on Darwin (was: use of program_name)

2006-01-09 Thread Ralf Wildenhues
[ This is http://article.gmane.org/gmane.comp.lib.gnulib.bugs/5080 Please remove bug-gnulib from followups. Thank you. ] * Paul Eggert wrote on Fri, Jan 06, 2006 at 12:06:59AM CET: [EMAIL PROTECTED] (Karl Berry) writes: Is it a problem in practice, ie, what are these non-Unix linkers?

Re: use of -fno-common on Darwin

2006-01-09 Thread Peter O'Gorman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralf Wildenhues wrote: | [ This is http://article.gmane.org/gmane.comp.lib.gnulib.bugs/5080 | Please remove bug-gnulib from followups. Thank you. ] | | * Paul Eggert wrote on Fri, Jan 06, 2006 at 12:06:59AM CET: | |[EMAIL PROTECTED] (Karl Berry)

Re: use of -fno-common on Darwin

2006-01-09 Thread Bob Friesenhahn
On Mon, 9 Jan 2006, Paul Eggert wrote: Peter O'Gorman [EMAIL PROTECTED] writes: getprogname(3), if it exists, can be used as well as other alternatives (e.g. argv[0]). Thanks, I wasn't aware of the BSD getprogname until now. How about this proposal? * Change the progname module to use the