Re: [PATCH] psxhdrs/strncat: Fix string truncation warning

2020-07-30 Thread Gedare Bloom
On Thu, Jul 30, 2020 at 7:08 AM Sebastian Huber wrote: > > On 30/07/2020 14:55, Joel Sherrill wrote: > > > > What compiler spotted this? > > The RTEMS 6 toolchain with GCC 10 produces a bunch of new warnings. > > > > > Poke Sebastian or Christian to push it to 5 and master. I am not going > > to b

[PATCH] psxhdrs/strncat: Fix string truncation warning

2020-07-30 Thread Aschref Ben-Thabet
From: Aschref Ben Thabet --- testsuites/psxtests/psxhdrs/string/strncat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/psxtests/psxhdrs/string/strncat.c b/testsuites/psxtests/psxhdrs/string/strncat.c index 730a56cfa6..d872be3408 100644 --- a/testsuites/psxtests

Re: [PATCH] psxhdrs/strncat: Fix string truncation warning

2020-07-30 Thread Sebastian Huber
On 30/07/2020 14:55, Joel Sherrill wrote: What compiler spotted this? The RTEMS 6 toolchain with GCC 10 produces a bunch of new warnings. Poke Sebastian or Christian to push it to 5 and master. I am not going to be able to do that today. I checked it in to the master branch. Should we re

Re: [PATCH] psxhdrs/strncat: Fix string truncation warning

2020-07-30 Thread Joel Sherrill
This looks OK to me. The code is never executed but it shouldn't have a warning either. What compiler spotted this? Poke Sebastian or Christian to push it to 5 and master. I am not going to be able to do that today. On Thu, Jul 30, 2020 at 7:47 AM Aschref Ben-Thabet < aschref.ben-tha...@embedded

[PATCH] psxhdrs/strncat: Fix string truncation warning

2020-07-30 Thread Aschref Ben-Thabet
From: Aschref Ben Thabet --- testsuites/psxtests/psxhdrs/string/strncat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/psxtests/psxhdrs/string/strncat.c b/testsuites/psxtests/psxhdrs/string/strncat.c index 730a56cfa6..d872be3408 100644 --- a/testsuites/psxtests