Re: [hackers] [dwm][PATCH RESEND 0/2] Const-correctness fixes
Hi Quentin,
On Mon, Aug 22, 2022 at 11:29:04AM +0200, Quentin Rameau wrote:
> strings pointed to by XClassHint members are not modified, they're
> copied when necessary.
I think you're correct on this. The only reason I sent the patch was
since the thread/topic was about const-correctness.
And _if_ const-correctness is to be a goal then I think it should extend
to string-literals as well since they're effectively `const`. If that's
not a goal/priority then the current code is fine.
- NRK
Received on Mon Aug 22 2022 - 12:40:04 CEST
This archive was generated by hypermail 2.3.0
: Mon Aug 22 2022 - 12:48:38 CEST