Re: [PATCH] cpukit/libmisc/monitor: Fix string restrict warning

2020-09-15 Thread Sebastian Huber
On 15/09/2020 11:02, Aschref Ben-Thabet wrote: From: Aschref Ben Thabet Replace strcpy with the safer memcpy(). The strcpy() function is designed to work exclusively with strings. strcpy() copies each byte of the source string to the destination string and stops when the terminating null charac

[PATCH] cpukit/libmisc/monitor: Fix string restrict warning

2020-09-15 Thread Aschref Ben-Thabet
From: Aschref Ben Thabet Replace strcpy with the safer memcpy(). The strcpy() function is designed to work exclusively with strings. strcpy() copies each byte of the source string to the destination string and stops when the terminating null character (\0) has been moved. On the other hand, the m