Re: *printf string functions without INT_MAX limitations in C locale

2024-06-24 Thread Bruno Haible
Oops, I forgot to move the 'c-vasnprintf' module LGPLv2+ as well. 2024-06-24 Bruno Haible c-vasnprintf: Relicense under LGPLv2+. * lib/c-vasnprintf.h: Rebase on lib/vasnprintf.h. * lib/c-vasnprintf.c: Rebase on lib/unistdio/ulc-vasnprintf.c. * modules/c-vasnpri

*printf string functions without INT_MAX limitations in C locale

2024-06-22 Thread Bruno Haible
Here come the c-*zs*printf modules, which are like the existing c-*s*printf modules, except that - they support returning results of length > INT_MAX, - thus the length type is changed to 'ptrdiff_t' from 'int', - an attempt to return a result > PTRDIFF_MAX produces an error ENOMEM (consi

*printf string functions without INT_MAX limitations

2024-06-22 Thread Bruno Haible
As discussed in the thread starting at , I'm adding *zs*printf modules, that are like the existing variants without 'z', except that - they support returning results of length > INT_MAX, - thus the length type is changed to 'p