mbox series

[00/24] man3: SYNOPSIS: Use 'restrict' in prototypes (batch 5)

Message ID 20210310183149.194717-1-alx.manpages@gmail.com
Headers show
Series man3: SYNOPSIS: Use 'restrict' in prototypes (batch 5) | expand

Message

Alejandro Colomar March 10, 2021, 6:31 p.m. UTC
This fixes up til trunc.3 (I didn't send you scanf.3
in this patch set because I did in my mom's computer and forgot to push).

When you come back and merge all of the pending patches, I'll send/resend
anything that's not in sync anyway.
So don't worry about missing some of them.

Kind regards,

Alex

Alejandro Colomar (24):
  sem_getvalue.3: SYNOPSIS: Use 'restrict' in prototypes
  sem_wait.3: SYNOPSIS: Use 'restrict' in prototypes
  setaliasent.3: SYNOPSIS: Use 'restrict' in prototypes
  setbuf.3: SYNOPSIS: Use 'restrict' in prototypes
  setbuf.3: SYNOPSIS: Use 'restrict' in prototypes
  setnetgrent.3: SYNOPSIS: Use 'restrict' in prototypes
  sigwait.3: SYNOPSIS: Use 'restrict' in prototypes
  statvfs.3: SYNOPSIS: Use 'restrict' in prototypes
  stpcpy.3: SYNOPSIS: Use 'restrict' in prototypes
  stpncpy.3: SYNOPSIS: Use 'restrict' in prototypes
  strcat.3: SYNOPSIS: Use 'restrict' in prototypes
  strcpy.3: SYNOPSIS: Use 'restrict' in prototypes
  strfmon.3: SYNOPSIS: Use 'restrict' in prototypes
  strftime.3: SYNOPSIS: Use 'restrict' in prototypes
  string.3: SYNOPSIS: Use 'restrict' in prototypes
  string.3: SYNOPSIS: Use 'restrict' in prototypes
  strptime.3: SYNOPSIS: Use 'restrict' in prototypes
  strsep.3: SYNOPSIS: Use 'restrict' in prototypes
  strtod.3: SYNOPSIS: Use 'restrict' in prototypes
  strtoimax.3: SYNOPSIS: Use 'restrict' in prototypes
  strtok.3: SYNOPSIS: Use 'restrict' in prototypes
  strtol.3, strtoul.3: SYNOPSIS: Use 'restrict' in prototypes
  strxfrm.3: SYNOPSIS: Use 'restrict' in prototypes
  swab.3: SYNOPSIS: Use 'restrict' in prototypes

 man3/sem_getvalue.3 |  2 +-
 man3/sem_wait.3     |  3 ++-
 man3/setaliasent.3  | 13 +++++++------
 man3/setbuf.3       |  9 +++++----
 man3/setnetgrent.3  | 12 +++++++-----
 man3/sigwait.3      |  2 +-
 man3/statvfs.3      |  3 ++-
 man3/stpcpy.3       |  2 +-
 man3/stpncpy.3      |  3 ++-
 man3/strcat.3       |  5 +++--
 man3/strcpy.3       |  5 +++--
 man3/strfmon.3      |  7 ++++---
 man3/strftime.3     |  5 +++--
 man3/string.3       | 21 ++++++++++++---------
 man3/strptime.3     |  3 ++-
 man3/strsep.3       |  2 +-
 man3/strtod.3       |  7 ++++---
 man3/strtoimax.3    |  6 ++++--
 man3/strtok.3       |  5 +++--
 man3/strtol.3       |  7 ++++---
 man3/strtoul.3      |  8 ++++----
 man3/strxfrm.3      |  3 ++-
 man3/swab.3         |  3 ++-
 23 files changed, 79 insertions(+), 57 deletions(-)

Comments

Michael Kerrisk \(man-pages\) March 14, 2021, 8:51 p.m. UTC | #1
Hello Alex,

On 3/10/21 7:31 PM, Alejandro Colomar wrote:
> This fixes up til trunc.3 

trunc.3? I'm a little confused, since the last patch is for swab.3.

> (I didn't send you scanf.3
> in this patch set because I did in my mom's computer and forgot to push).

:-).

> When you come back and merge all of the pending patches, I'll send/resend
> anything that's not in sync anyway.
> So don't worry about missing some of them.

I've applied all of the below patches.

Thanks once again for all of this work!

Cheers,

Michael

> Alejandro Colomar (24):
>   sem_getvalue.3: SYNOPSIS: Use 'restrict' in prototypes
>   sem_wait.3: SYNOPSIS: Use 'restrict' in prototypes
>   setaliasent.3: SYNOPSIS: Use 'restrict' in prototypes
>   setbuf.3: SYNOPSIS: Use 'restrict' in prototypes
>   setbuf.3: SYNOPSIS: Use 'restrict' in prototypes
>   setnetgrent.3: SYNOPSIS: Use 'restrict' in prototypes
>   sigwait.3: SYNOPSIS: Use 'restrict' in prototypes
>   statvfs.3: SYNOPSIS: Use 'restrict' in prototypes
>   stpcpy.3: SYNOPSIS: Use 'restrict' in prototypes
>   stpncpy.3: SYNOPSIS: Use 'restrict' in prototypes
>   strcat.3: SYNOPSIS: Use 'restrict' in prototypes
>   strcpy.3: SYNOPSIS: Use 'restrict' in prototypes
>   strfmon.3: SYNOPSIS: Use 'restrict' in prototypes
>   strftime.3: SYNOPSIS: Use 'restrict' in prototypes
>   string.3: SYNOPSIS: Use 'restrict' in prototypes
>   string.3: SYNOPSIS: Use 'restrict' in prototypes
>   strptime.3: SYNOPSIS: Use 'restrict' in prototypes
>   strsep.3: SYNOPSIS: Use 'restrict' in prototypes
>   strtod.3: SYNOPSIS: Use 'restrict' in prototypes
>   strtoimax.3: SYNOPSIS: Use 'restrict' in prototypes
>   strtok.3: SYNOPSIS: Use 'restrict' in prototypes
>   strtol.3, strtoul.3: SYNOPSIS: Use 'restrict' in prototypes
>   strxfrm.3: SYNOPSIS: Use 'restrict' in prototypes
>   swab.3: SYNOPSIS: Use 'restrict' in prototypes
> 
>  man3/sem_getvalue.3 |  2 +-
>  man3/sem_wait.3     |  3 ++-
>  man3/setaliasent.3  | 13 +++++++------
>  man3/setbuf.3       |  9 +++++----
>  man3/setnetgrent.3  | 12 +++++++-----
>  man3/sigwait.3      |  2 +-
>  man3/statvfs.3      |  3 ++-
>  man3/stpcpy.3       |  2 +-
>  man3/stpncpy.3      |  3 ++-
>  man3/strcat.3       |  5 +++--
>  man3/strcpy.3       |  5 +++--
>  man3/strfmon.3      |  7 ++++---
>  man3/strftime.3     |  5 +++--
>  man3/string.3       | 21 ++++++++++++---------
>  man3/strptime.3     |  3 ++-
>  man3/strsep.3       |  2 +-
>  man3/strtod.3       |  7 ++++---
>  man3/strtoimax.3    |  6 ++++--
>  man3/strtok.3       |  5 +++--
>  man3/strtol.3       |  7 ++++---
>  man3/strtoul.3      |  8 ++++----
>  man3/strxfrm.3      |  3 ++-
>  man3/swab.3         |  3 ++-
>  23 files changed, 79 insertions(+), 57 deletions(-)
>
Michael Kerrisk \(man-pages\) March 14, 2021, 8:53 p.m. UTC | #2
On 3/14/21 9:51 PM, Michael Kerrisk (man-pages) wrote:
> Hello Alex,
> 
> On 3/10/21 7:31 PM, Alejandro Colomar wrote:
>> This fixes up til trunc.3 
> 
> trunc.3? I'm a little confused, since the last patch is for swab.3.
> 
>> (I didn't send you scanf.3
>> in this patch set because I did in my mom's computer and forgot to push).
> 
> :-).
> 
>> When you come back and merge all of the pending patches, I'll send/resend
>> anything that's not in sync anyway.
>> So don't worry about missing some of them.
> 
> I've applied all of the below patches.
> 
> Thanks once again for all of this work!

I forgot to mention that you seem to have made a local fix for a small
white-space bug in sigwait.3, but didn't send me that patch. Consequently,
the sigwait.3 patchy didn't apply until I made the same fix.

Thanks,

Michael
Alejandro Colomar March 19, 2021, 8:59 p.m. UTC | #3
Hi Michael,

On 3/14/21 9:51 PM, Michael Kerrisk (man-pages) wrote:
> Hello Alex,
> 
> On 3/10/21 7:31 PM, Alejandro Colomar wrote:
>> This fixes up til trunc.3 
> 
> trunc.3? I'm a little confused, since the last patch is for swab.3.

Ahh, I was also confused after your email.  Now I understand it.
I checked more pages after swab.3, but they didn't require changes.  I
wrote the last page I checked so that I wouldn't check them again in the
next batch :)

> 
>> (I didn't send you scanf.3
>> in this patch set because I did in my mom's computer and forgot to push).
> 
> :-).

Hehe

> 
>> When you come back and merge all of the pending patches, I'll send/resend
>> anything that's not in sync anyway.
>> So don't worry about missing some of them.
> 
> I've applied all of the below patches.
> 
> Thanks once again for all of this work!

:-)

> 
> Cheers,
> 
> Michael
> 
>> Alejandro Colomar (24):
>>   sem_getvalue.3: SYNOPSIS: Use 'restrict' in prototypes
>>   sem_wait.3: SYNOPSIS: Use 'restrict' in prototypes
>>   setaliasent.3: SYNOPSIS: Use 'restrict' in prototypes
>>   setbuf.3: SYNOPSIS: Use 'restrict' in prototypes
>>   setbuf.3: SYNOPSIS: Use 'restrict' in prototypes
>>   setnetgrent.3: SYNOPSIS: Use 'restrict' in prototypes
>>   sigwait.3: SYNOPSIS: Use 'restrict' in prototypes
>>   statvfs.3: SYNOPSIS: Use 'restrict' in prototypes
>>   stpcpy.3: SYNOPSIS: Use 'restrict' in prototypes
>>   stpncpy.3: SYNOPSIS: Use 'restrict' in prototypes
>>   strcat.3: SYNOPSIS: Use 'restrict' in prototypes
>>   strcpy.3: SYNOPSIS: Use 'restrict' in prototypes
>>   strfmon.3: SYNOPSIS: Use 'restrict' in prototypes
>>   strftime.3: SYNOPSIS: Use 'restrict' in prototypes
>>   string.3: SYNOPSIS: Use 'restrict' in prototypes
>>   string.3: SYNOPSIS: Use 'restrict' in prototypes
>>   strptime.3: SYNOPSIS: Use 'restrict' in prototypes
>>   strsep.3: SYNOPSIS: Use 'restrict' in prototypes
>>   strtod.3: SYNOPSIS: Use 'restrict' in prototypes
>>   strtoimax.3: SYNOPSIS: Use 'restrict' in prototypes
>>   strtok.3: SYNOPSIS: Use 'restrict' in prototypes
>>   strtol.3, strtoul.3: SYNOPSIS: Use 'restrict' in prototypes
>>   strxfrm.3: SYNOPSIS: Use 'restrict' in prototypes
>>   swab.3: SYNOPSIS: Use 'restrict' in prototypes
Alejandro Colomar March 19, 2021, 9:08 p.m. UTC | #4
Hi Michael,

On 3/14/21 9:53 PM, Michael Kerrisk (man-pages) wrote:
> On 3/14/21 9:51 PM, Michael Kerrisk (man-pages) wrote:
>> Hello Alex,
>>
>> On 3/10/21 7:31 PM, Alejandro Colomar wrote:
>>> This fixes up til trunc.3 
>>
>> trunc.3? I'm a little confused, since the last patch is for swab.3.
>>
>>> (I didn't send you scanf.3
>>> in this patch set because I did in my mom's computer and forgot to push).
>>
>> :-).
>>
>>> When you come back and merge all of the pending patches, I'll send/resend
>>> anything that's not in sync anyway.
>>> So don't worry about missing some of them.
>>
>> I've applied all of the below patches.
>>
>> Thanks once again for all of this work!
> 
> I forgot to mention that you seem to have made a local fix for a small
> white-space bug in sigwait.3, but didn't send me that patch. Consequently,
> the sigwait.3 patchy didn't apply until I made the same fix.

Yes, when I noticed you weren't able to review all of the emails, I
started buffering most of them, so I only sent you the big "trivial"
patch sets about restrict, and a few other important patches, to avoid
overloading you.  While rebasing to reorder them, I lost track of what I
had sent you and what not.  We'll sync again soon!

Cheers!

Alex