On Tue, Feb 13, 2018 at 04:44:02PM +0100, Pino Toscano wrote:
> Introduce a new helper function to resolve a path name, calling
> nbdkit_error on failure: other than doing what nbdkit_absolute_path
> does, it also checks that the file exist (and thus avoid errors later
> on).
>
> Apply it where an
On Wednesday, 14 February 2018 15:29:39 CET Eric Blake wrote:
> On 02/13/2018 09:44 AM, Pino Toscano wrote:
> > Introduce a new helper function to resolve a path name, calling
> > nbdkit_error on failure: other than doing what nbdkit_absolute_path
> > does, it also checks that the file exist (and t
On 02/13/2018 09:44 AM, Pino Toscano wrote:
Introduce a new helper function to resolve a path name, calling
nbdkit_error on failure: other than doing what nbdkit_absolute_path
does, it also checks that the file exist (and thus avoid errors later
s/exist/exists/
s/avoid/avoids/
on).
Apply it
Introduce a new helper function to resolve a path name, calling
nbdkit_error on failure: other than doing what nbdkit_absolute_path
does, it also checks that the file exist (and thus avoid errors later
on).
Apply it where an existing path is required, both in nbdkit itself and
in plugins.
Related