Re: Correct name for size_t argument in strlcpy.3

2021-04-30 Thread Todd C . Miller
On Fri, 30 Apr 2021 11:15:21 -0600, "Theo de Raadt" wrote: > I disagree. > > "dstsize" is conceptually easier for readers to understand. > > Secondly, there is nothing which says the library code has to match the > manual page. Implementation does not need to match documentation. My feelings

Re: Correct name for size_t argument in strlcpy.3

2021-04-30 Thread Theo de Raadt
I disagree. "dstsize" is conceptually easier for readers to understand. Secondly, there is nothing which says the library code has to match the manual page. Implementation does not need to match documentation. Emil Engler wrote: > Hello tech@, > currently the man-page for strlcpy(3) and

Correct name for size_t argument in strlcpy.3

2021-04-30 Thread Emil Engler
Hello tech@, currently the man-page for strlcpy(3) and strlcat(3) calls the third argument for those functions "dstsize" whereas the C source code calls it "dsize". This patch addresses this issue by renaming it to "dsize" to keep coherency between the man-page and the source code. diff --git