Re: [hackers] [sbase] libutil/recurse: Simplify adding trailing slash || Michael Forney

From: Laslo Hunhold <>
Date: Tue, 23 Jun 2020 22:24:14 +0200

On Tue, 23 Jun 2020 11:43:41 -0700
Michael Forney <> wrote:

Dear Michael,

> I don't think it will be a problem. We are not interested in the path
> with an appended trailing slash, it is just an intermediate step in
> constructing the path to the child. When we add the final path
> component, we necessarily check that the buffer has enough space for
> the directory entry name and nul-terminator.

thanks for your response! Ah that makes sense. It looked more drastic
in the diff.

With best regards

Received on Tue Jun 23 2020 - 22:24:14 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 23 2020 - 22:24:36 CEST