Re: [PATCH 12/24] getgrent_r.3: Use sizeof() to get buffer size (instead of hardcoding macro name)

From: Alejandro Colomar
Date: Thu Sep 24 2020 - 06:08:07 EST


Hi Michael

On 2020-09-24 12:04, Michael Kerrisk (man-pages) wrote:
Hi Alex,

[..]

I was reverting the 3 patches I introduced (they changed from solution 1
to solution 2), and also was grepping for already existing solution 2 in
the pages (it seems that solution 2 was a bit more extended than
solution 1).

Just so I can refresh my cache, which commits were those?

* b9bf90297 - Thu, 10 Sep 2020 23:13:36 +0200 (2 weeks ago)
| unix.7: Use sizeof() to get buffer size (instead of hardcoding macro name) - Alejandro Colomar

[...]

* 1656c1702 - Thu, 10 Sep 2020 23:13:34 +0200 (2 weeks ago)
| getpwent_r.3: Use sizeof() to get buffer size (instead of hardcoding macro name) - Alejandro Colomar
* cf254328f - Thu, 10 Sep 2020 23:13:33 +0200 (2 weeks ago)
| getgrent_r.3: Use sizeof() to get buffer size (instead of hardcoding macro name) - Alejandro Colomar



Thanks,

Michael


Cheers,

Alex