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

2016-10-17 Thread ivanov.maxim
are@list.skarnet.org Subject: Re[4]: How to write an execline helper in execline? >Hi, slightly among the lines of this suggestion, is there anything to >help templating files with a given set (or subset) of env vars? This >would be nice addition for s6 overlay I can't think of anything simpler tha

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

2016-10-16 Thread Laurent Bercot
Hi, slightly among the lines of this suggestion, is there anything to help templating files with a given set (or subset) of env vars? This would be nice addition for s6 overlay I can't think of anything simpler than s6-envdir dir_containing_all_variable_definitions multisubstitute { import

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

2016-10-16 Thread Laurent Bercot
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

Re: How to write an execline helper in execline?

2016-10-16 Thread Olivier Brunel
On Sun, 16 Oct 2016 17:10:23 + "Laurent Bercot" wrote: > Ew. Shows how much that code is used - in more than two years, > nobody (including me) has noticed the segfault. > > Since it's so widely used, and since diving back into environment > frame