git-version-gen doc: writing to intermediate file

2024-07-26 Thread Basil L. Contovounesios
The commentary in build-aux/git-version-gen illustrates how the files .version and .tarball-version could be generated: $(top_srcdir)/.version: echo '$(VERSION)' > $@-t mv $@-t $@ dist-hook: echo '$(VERSION)' > $(distdir)/.tarball-version I'm curious why one recipe

Re: [PATCH] attribute: const/pure defaults to unsequenced/reproducible

2024-06-05 Thread Basil L. Contovounesios
Paul Eggert [2024-06-03 14:09 -0700] wrote: > N2956 has a typo. In this statement: > > "Similarly, GCC’s pure is less restricted than the new standard attribute > [[reproducible]], and an implementation of the GCC feature is, syntax aside, > an > implementation of the new standard attribute." >

Re: [PATCH] attribute: const/pure defaults to unsequenced/reproducible

2024-06-03 Thread Basil L. Contovounesios
Bruno Haible [2024-05-31 15:03 +0200] wrote: > Basil L. Contovounesios wrote: >> Isn't this saying that C23 [[reproducible]] is stricter than GCC pure? >> https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2956.htm#some-differences-with-gcc-const-and-pure > Yes: [1], section "

Re: [PATCH] attribute: const/pure defaults to unsequenced/reproducible

2024-05-31 Thread Basil L. Contovounesios
Paul Eggert [2024-05-28 08:37 -0700] wrote: > + can depend on observable state. It is stricter than > + _GL_ATTRIBUTE_REPRODUCIBLE because the function must return exactly > + once and cannot affect state addressed by its arguments.) */ > /* Applies to: functions. */ > #ifndef

Re: [PATCH] gnulib-tool.py: Follow gnulib-tool changes, part 63.

2024-03-17 Thread Basil L. Contovounesios
Collin Funk [2024-03-17 15:03 -0700] wrote: > +if len(cleansed) > 0: > +return '\n'.join(cleansed) > +else: > +return '' FWIW '\n'.join([]) is '', so perhaps it isn't necessary to check len(cleansed). Thanks, -- Basil