Re: localized URLs

2019-05-27 Thread Akim Demaille
Hi Bruno, > Le 28 mai 2019 à 00:07, Bruno Haible a écrit : > > Hi Akim, > [...] > Or maybe you have better ideas to solve this dilemma? I would certainly not claim to have better ideas :) You are looking for a generic way to deal with URLs that have alternatives for languages. I was looking

Re: localized URLs

2019-05-27 Thread Bruno Haible
Hi Akim, > Before (so translations from from bison's fr.po): > > Aide générique sur l'utilisation des logiciels GNU: > . > > After (translations from gnulib-po's fr.po, but the URL is not localizable): > > Aide globale sur les logiciels GNU :

Re: Why does close_stdout close stdout and stderr?

2019-05-27 Thread Bruno Haible
Florian Weimer wrote: > What's so bad about closing the underyling file descriptor after > duplicating it? See my other mail: > It will not have the desired effect on some platforms Then we will have a regression on these plat

Re: AC_LIB_HAVE_LINKFLAGS: linking with static library on macOS

2019-05-27 Thread Mohammad Akhlaghi
On 5/27/19 8:11 AM, Bruno Haible wrote: Mohammad Akhlaghi wrote: Generally, to avoid such crashes during the build, what do you think about adding a check in `AC_LIB_HAVE_LINKFLAGS' to test this scenario (see if the used libtool can link with the found static library)? Getting a notice/warning/c

Re: Why does close_stdout close stdout and stderr?

2019-05-27 Thread Florian Weimer
* Bruno Haible: > Florian Weimer wrote in > : >> The relevant case is where there is no error, and we do not call _exit. >> I'm worried that the current implementation introduces a use-after-free >> bug under certain, quite reaso

Re: Why does close_stdout close stdout and stderr?

2019-05-27 Thread Florian Weimer
* Paul Eggert: > On 5/13/19 12:00 AM, Florian Weimer wrote: >>> I don't see any way around this problem in general with the closeout >>> module's current API, because when it discovers an I/O error it calls >>> _exit, and _exit also clashes with that kind of cleanup handling. >> This isn't the pro

Re: getgroups.c failes to compile

2019-05-27 Thread Bruno Haible
Mohammad Akhlaghi wrote: > if a program doesn't use anything from a library, > what are the downsides (performance maybe?) to link it with that library > anyway? Startup time of the program is increased. See [1], chapter 1, for the general theory. By how much is it increased? You have to measur

Re: AC_LIB_HAVE_LINKFLAGS: linking with static library on macOS

2019-05-27 Thread Bruno Haible
Mohammad Akhlaghi wrote: > Generally, to avoid such crashes during the build, what do you think > about adding a check in `AC_LIB_HAVE_LINKFLAGS' to test this scenario > (see if the used libtool can link with the found static library)? > Getting a notice/warning/crash at configure time is much e