Re: [PATCH 0/1] Reduce footprint of xstrtol module

2019-12-05 Thread Bruno Haible
Hi Pino, > I decided to move xstrtol_fatal() to an own xstrtol-error module. > > This has the nice advantage to reduce the footprint a lot That's a good move. Great! > There are only two potential downsides: > 1) users of the xstro* modules may use xstrtol_fatal() right now Your mitigation,

Re: Compile error with xlclang++ on AIX

2019-12-05 Thread Bruno Haible
Christian Biesinger wrote: > Testcase: > #include "gnulib/config.h" > #include // optional > #include > > int main() { > } Let me add more C++ tests to gnulib, so that such errors become apparent when compiling a testdir created with the option 'with-c++-tests'. 2019-12-05 Bruno Haible

Re: smart quotes in German

2019-12-05 Thread Bruno Haible
Tim Rühsen wrote: > there seems to be some kind of inconsistency. > > > $ LANGUAGE=de cp > cp: Fehlender Dateioperand > „cp --help“ liefert weitere Informationen. > > > $ LANGUAGE=de wget > wget: URL fehlt > Aufruf: wget [OPTION]... [URL] … > > »wget --help« gibt weitere Informationen. > >

Re: GNUlib unicode encoding causes smart quotes to be displayed in program's output

2019-12-05 Thread Paul Eggert
On 12/5/19 7:12 AM, Wes Hurd wrote: Smart quotes are dangerous for programmers and technical users Sure, but *all* quotes are dangerous for programmers and technical users. :-) If you don’t want smart quotes, you can set LC_ALL=C in your environment.

Re: GNUlib unicode encoding causes smart quotes to be displayed in program's output

2019-12-05 Thread Tim Rühsen
On 12/5/19 4:12 PM, Wes Hurd wrote: > Hi, > > It seems GNUlib quote encoding goes to Unicode smart quotes, which causes > command-line program output to be in smart quotes. > Smart quotes are dangerous for programmers and technical users, and should > be avoided in program output. > > Originally

GNUlib unicode encoding causes smart quotes to be displayed in program's output

2019-12-05 Thread Wes Hurd
Hi, It seems GNUlib quote encoding goes to Unicode smart quotes, which causes command-line program output to be in smart quotes. Smart quotes are dangerous for programmers and technical users, and should be avoided in program output. Originally noticed with wget -

[PATCH 1/1] Move xstrtol_fatal to a new xstrtol-error module

2019-12-05 Thread Pino Toscano
The xstrtol module provides a xstrtol_fatal function which uses other modules suitable mostly for command line handling (e.g. gettext, getopt), and that are completely unused when using only xstrto* functions. Furthermore, xstrtol_fatal is used only in the xstrtol-tests (within gnulib itself). As

[PATCH 0/1] Reduce footprint of xstrtol module

2019-12-05 Thread Pino Toscano
Hi, I noticed that using the xstrtol (or any of the other xstrto* modules using it) drags a lot of other gnulib modules, 39 more to be exact including dirname-lgpl, error, errno, getopt-gnu, msvc-*, etc. The reason for this are: - xstrtol.h includes getopt.h, which in turns requires getopt-gnu,