NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/56241: Many string functions do not confirm to the C99 standard



On Wed, Jun 09, 2021 at 12:25:00AM +0000, doremylover123%gmail.com@localhost wrote:
> >Description:
> The restrict qualifiers are missing in many of these functions. I added a patch that adds them and updates the documentation with this.

The patch doesn't really match the description. Note that the
implementation is entirely valid under C99 rules: restrict for function
arguments is only restricting the valid arguments further. Conforming
code does not change its behavior if the restrict is not present.

Joerg


Home | Main Index | Thread Index | Old Index