Am Mi., 28. Aug. 2024 um 14:21 Uhr schrieb Bruno Haible :
[...]
> Let me start with the renamings of what is already in gnulib. Then,
> your additions are welcome (as two patches, please: one for the
> new code in module libgmp, and one for the new tests).
>
>
> 2024-08-28 Bruno Haible
>
>
Marc Nieper-Wißkirchen wrote:
> Shouldn't get the new module libgmp-mpz an entry in MODULES.html.sh?
Yes, feel free to add it. I tend to update this file only occasionally.
Bruno
Jeffrey Walton wrote:
> iOS also lacks fork/exec, posix_spawn, etc. Apple wants devs to use
> NSTask to create processes. (iirc).
Fortunately iOS is not a target platform for Gnulib:
https://www.gnu.org/software/gnulib/manual/html_node/Unsupported-Platforms.html
Bruno
From: Marc Nieper-Wißkirchen
* MODULES.html.sh: Mention libgmp-mpz and
libgmp-mpq.
* config/srclist.txt: Mention mini-mpq.c and mini-mpq.h.
* lib/mini-mpq-gnulib.c: New file.
* lib/mini-mpq.c: New upstream source file.
* lib/mini-mpq.h: New upstream source file.
* modules/libgmp-mpq: New module.
From: Marc Nieper-Wißkirchen
* modules/libgmp-mpq-tests: New file.
* tests/test-libgmp-mpq.c: New file.
---
ChangeLog| 4 ++
modules/libgmp-mpq-tests | 14 +++
tests/test-libgmp-mpq.c | 82
3 files changed, 100 insertions(+)
create
Am Do., 29. Aug. 2024 um 10:27 Uhr schrieb Bruno Haible :
> Marc Nieper-Wißkirchen wrote:
> > Shouldn't get the new module libgmp-mpz an entry in MODULES.html.sh?
>
> Yes, feel free to add it. I tend to update this file only occasionally.
>
I followed your suggestions and sent the updated patches
Hi Marc,
this looks good, except for two small things:
1) In the ChangeLog entry
> + * lib/mini-mpq.c: New upstream source file.
> + * lib/mini-mpq.h: New upstream source file.
I would like to see more precision about where "upstream" is.
Ideally, the URL that can be downloaded with 'wg
Hi Marc,
> +#ifndef MINI_GMP_LIMB_TYPE
> +/* Verify that the gmp.h header file was generated for the same
> + machine word size as we are using. */
> +static_assert (GMP_NUMB_BITS == sizeof (mp_limb_t) * CHAR_BIT);
> +#endif
> +
> +int
> +main ()
> +{
> +#ifndef MINI_GMP_LIMB_TYPE
> + /* Verif
Hi Marc,
> I followed your suggestions and sent the updated patches to the mailing
> list. Are you fine with me pushing them onto the repo?
Yes, once you have addressed the review comments.
Bruno
Am Do., 29. Aug. 2024 um 11:31 Uhr schrieb Bruno Haible :
> Hi Marc,
>
> this looks good, except for two small things:
>
> 1) In the ChangeLog entry
>
> > + * lib/mini-mpq.c: New upstream source file.
> > + * lib/mini-mpq.h: New upstream source file.
>
> I would like to see more precision
Am Do., 29. Aug. 2024 um 11:36 Uhr schrieb Bruno Haible :
> Hi Marc,
>
> > +#ifndef MINI_GMP_LIMB_TYPE
> > +/* Verify that the gmp.h header file was generated for the same
> > + machine word size as we are using. */
> > +static_assert (GMP_NUMB_BITS == sizeof (mp_limb_t) * CHAR_BIT);
> > +#endi
Thanks for the new module, Marc!
I happened to run 'check-AC_LIBOBJ':
$ ./check-AC_LIBOBJ
modules/obstack-printf-gnu lacks file lib/obstack_printf.c
This patch fixes it.
2024-08-29 Bruno Haible
obstack-printf-gnu: Fix mistake (reported by check-AC_LIBOBJ).
* modules/obstack-printf-gnu (Files): Add lib/o
On 2021-06-04, gnulib-tool stopped doing license template replacements in the
source files. gnulib-tool's --help message was not updated at that time. This
patch does it now.
2024-08-29 Bruno Haible
gnulib-tool: Fix description of --lgpl option (missed on 2021-06-04).
* gnulib
Some packages that use Gnulib are under GPLv2+. It is useful for these packages
— just for packages under LGPL — to be able to verify that the modules they
import are compatible with this license choice.
This patch does it, by adding an option --gpl=2 to gnulib-tool.
The option --gpl=3 is also ac
I want to use the 'vma-iter' module in GNU libffcall, which is under GPLv2+.
This requires relicensing the module under GPLv2+ (or weaker).
Looking through the history of src/vma-iter.h, src/vma-iter.c and its
predecessor lib/get-rusage-as.c (before 2011-01-24), I am the only contributor
of legal
has functions for creating memory areas with a given protection,
and mprotect() for changing the protection. But it has no API for returning
the protection of an area!
This new module fills that gap.
Not by trying to write or execute the given memory (because that would
make side effects, and be
17 matches
Mail list logo