Re: critique of gnulib

2019-09-01 Thread Paul Eggert
Thanks for your thoughtful reply. A few points: Jonas 'Sortie' Termansen wrote: I object to the notion that truncation is a worse outcome than a buffer overflow. A buffer overflow is at worst a remote code execution vulnerability, while a truncation is at worst a program bug (although that may

Re: critique of gnulib

2019-09-01 Thread Jonas 'Sortie' Termansen
Hi Bruno & Paul, Thanks for your interest in my notes on gnulib. I appreciate your desire to discuss them. Please excuse some of the resources that I'll link below for overreacting in jest ("screaming in horror", "usual gnulib infection"), they weren’t really meant for upstream consumption, but th

gitsub.sh: add support for shallow-cloning of subdirectories

2019-09-01 Thread Bruno Haible
In some situations (e.g. when checkout out a package for continuous integration, not for human-driven development) it's useful to do a shallow clone of gnulib. 8 MB vs. 43 MB to download. 2019-09-01 Bruno Haible gitsub.sh: Add support for shallow-cloning of subdirectories. * t

Re: Any experience with cmake?

2019-09-01 Thread Bruno Haible
Ergus wrote: > After reading the thread I see that there is a workaround to generate a > .a and get the headers with the --create-testdir option. Yes. > Could you provide a basic configure.am content file to generate the .a > or the basic steps. No. You have to read the documentation by yourself

Re: Any experience with cmake?

2019-09-01 Thread Ergus
Hi Bruno: Very thanks for replying. After reading the thread I see that there is a workaround to generate a .a and get the headers with the --create-testdir option. Could you provide a basic configure.am content file to generate the .a or the basic steps. At least it will be easier to integrate