Re: Autogenerated header files not included in .gitignore

2021-04-02 Thread Marc Nieper-Wißkirchen
Hi Bruno, thank you very much for your prompt reply. Am Sa., 3. Apr. 2021 um 01:00 Uhr schrieb Bruno Haible : As far as I know, there are two practices regarding .gitignore management: > > * Some developers want a very clean source directory at all times. > They always to VPATH builds. The

Re: Autogenerated header files not included in .gitignore

2021-04-02 Thread Bruno Haible
Hi Marc, all, > A number of autogenerated header files are not added to ".gitignore" in > "$source_base". > > For example, in a current project of mine, > > $ git status > > shows > > lib/alloca.h > lib/fcntl.h > lib/inttypes.h > lib/langinfo.h > lib/limits.h > lib/locale.h > lib/signal.h > li

Re: Node to first or last element of a sequential list in module list/xlist

2021-04-02 Thread Bruno Haible
Hi Marc, > At the moment, there does not seem to be an easy way to retrieve the node > of the first or the last element in a list. The purpose of the gl_list_node_t is to write algorithms that work efficiently with linked-lists, when it is necessary (for performance) to hold a reference to a link

Re: mingw strtol bug

2021-04-02 Thread Bruno Haible
Hi Eric, > I ran into a mingw bug on strtol() today, and don't see it documented or > worked around in gnulib: Thanks for the report and test case. The functions strtoul(), strtoll(), strtoull() are equally affected. I'm adding workarounds to gnulib. 2021-04-02 Bruno Haible strtoul,

Autogenerated header files not included in .gitignore

2021-04-02 Thread Marc Nieper-Wißkirchen
A number of autogenerated header files are not added to ".gitignore" in "$source_base". For example, in a current project of mine, $ git status shows lib/alloca.h lib/fcntl.h lib/inttypes.h lib/langinfo.h lib/limits.h lib/locale.h lib/signal.h lib/stdio.h lib/stdlib.h lib/string.h lib/sys/ lib/

Node to first or last element of a sequential list in module list/xlist

2021-04-02 Thread Marc Nieper-Wißkirchen
Hi! At the moment, there does not seem to be an easy way to retrieve the node of the first or the last element in a list. This is useful if the list has to be traversed while nodes are added because an iterator cannot be used here. What is currently possible is to use get_first/set_first (and ge

Re: Support GLOB_TILDE_CHECK for ~user in glob.c on MS-Windows

2021-04-02 Thread Bruno Haible
Hi Eli, > > Your patch is consistent with the behaviour of this code on Unix, > > when the user does not exist. > > Yes, but the current code already behaves like that, it just doesn't > say so. Yes, that's what I'm saying. I made a positive statement about your patch :) > > But would it not be

Re: remove xgetdomainname module from Gnulib?

2021-04-02 Thread Paul Eggert
On 4/2/21 12:48 AM, Simon Josefsson wrote: Hi! I believe it is used by Shishi —https://www.gnu.org/software/shishi/manual/html_node/Utility-Functions.html — however I am sure it can be worked around by including the gnulib implementation directly. What problems does it cause to keep around? I

Re: remove xgetdomainname module from Gnulib?

2021-04-02 Thread Simon Josefsson via Gnulib discussion list
Hi! I believe it is used by Shishi — https://www.gnu.org/software/shishi/manual/html_node/Utility-Functions.html — however I am sure it can be worked around by including the gnulib implementation directly. What problems does it cause to keep around? It is rather small. /Simon > 2 apr. 2021 kl