[PATCH] stack-direction: Add support for loongarch CPU

2021-08-30 Thread Sun Haiyong
* m4/stack-direction.m4 (SV_STACK_DIRECTION): When the CPU is loongarch, set "sv_cv_stack_direction" to "-1" . --- m4/stack-direction.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4 index 93287254b..e6c3284ce 100644 --- a/m4/stack-direction.m4

Re: [PATCH] base32, base64: prefer signed to unsigned integers

2021-08-30 Thread Simon Josefsson via Gnulib discussion list
Paul Eggert writes: > Good question. Addressed in the attached patch, which I pushed. Thanks for improving this -- it addresses my concerns. /Simon signature.asc Description: PGP signature

Re: [PATCH] base32, base64: prefer signed to unsigned integers

2021-08-30 Thread Paul Eggert
On 8/30/21 7:12 AM, Simon Josefsson wrote: Thanks for the pointer -- it doesn't say anything about why ssize_t can't be used though? As a signed variant of size_t, it seems relevant to consider. Good question. Addressed in the attached patch, which I pushed. The objective is to eliminate

Re: [PATCH] base32, base64: prefer signed to unsigned integers

2021-08-30 Thread Simon Josefsson via Gnulib discussion list
Bruno Haible writes: > Hi Simon, > >> I'm not sure I understand why idx_t is better than size_t >> here, can you elaborate? Why not ssize_t? > > You find a detailed explanation in the comments of idx.h. Thanks for the pointer -- it doesn't say anything about why ssize_t can't be used though?