Re[2]: How to write an execline helper in execline?

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Sun, 16 Oct 2016 19:16:29 +0000

>Had a quick look, and from what i could gather the issue is that in our
>case, nothing gets put into v, so by the time pathexec_run() gets
>called, v only contains a NULL

  Oh yeah, it was definitely that, but the hard part was figuring out
exactly where the off-by-one error was among all the crap. ;)
  Thanks for the help :)
  I kept the "return 0" for the remainder part: in execline, whenever
possible, I try to make it not an error to run out of arguments - the
empty command line is equivalent to "true".

  OK, fixed. If you have other suggestions to be included in the next
execline release, please send them now :)

--
  Laurent
Received on Sun Oct 16 2016 - 19:16:29 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC