From: "Ted Unangst" Subject: Re: watch(1): construct cmdstr in a less clever way To: "Florian Obser" Cc: "tech" Date: Tue, 20 May 2025 12:20:34 -0400 On 2025-05-20, Florian Obser wrote: > OK? > + if ((cmdstr = calloc(cmdlen + 1, sizeof(char))) == NULL) > + err(1, "calloc"); there's no need for calloc.