Re: Port getprogname module to SCO OpenServer

2020-10-03 Thread Bruno Haible
Tim Rice wrote: > > Hi Bruno, > > On Sat, 3 Oct 2020, Bruno Haible wrote: > > > Tim Rice wrote: > > > > +# elif defined __SCO_VERSION__ /* SCO OpenServer/UnixWare */ > > > > > > While __SCO_VERSION__ covers Openserver 6 and UnixWare 7, > > > what is normally used for 6 and 7 is __USLC__ for th

Re: Port getprogname module to SCO OpenServer

2020-10-03 Thread Tim Rice
Hi Bruno, On Sat, 3 Oct 2020, Bruno Haible wrote: > Tim Rice wrote: > > > +# elif defined __SCO_VERSION__ /* SCO OpenServer/UnixWare */ > > > > While __SCO_VERSION__ covers Openserver 6 and UnixWare 7, > > what is normally used for 6 and 7 is __USLC__ for the native compiler > > and __sysv5__

vasnprintf: avoid using %n in the general case

2020-10-03 Thread Jeremie Courreges-Anglas
Hi, The attached patch changes vasnprintf.c to avoid using %n in the general case, ie when the return value of snprintf is usable. This should help if more systems decide to make tighten %n usage. There are plans for that in OpenBSD land. The existing comments in vasnprintf.c mention systems w

Re: Port getprogname module to SCO OpenServer

2020-10-03 Thread Bruno Haible
[Re-adding bug-gnulib back in CC. Please keep bug-gnulib in CC.] Benji Wiebe wrote: > Hey thanks a lot for the feedback Bruno and Tim! My C is sort of rusty > right now. I believe I've addressed all your concerns and suggestions in > the patch below. > > Thanks again! It is better, but there a

Re: Port getprogname module to SCO OpenServer

2020-10-03 Thread Bruno Haible
Tim Rice wrote: > > +# elif defined __SCO_VERSION__ /* SCO OpenServer/UnixWare */ > > While __SCO_VERSION__ covers Openserver 6 and UnixWare 7, > what is normally used for 6 and 7 is __USLC__ for the native compiler > and __sysv5__ for gcc > > Ie. > # elif defined __USLC__ || defined __sysv5__

Re: fix typo in 39be62df3b9b2453392109f4b6c4bb418e8d175a

2020-10-03 Thread Bruno Haible
Thien-Thi Nguyen wrote: > - func_module c-ldtoast > + func_module c-ldtoastr Thanks. Applied. Bruno