Yegappan wrote:

> On Sat, Apr 21, 2018 at 12:52 PM, Cesar Romani <[email protected]> wrote:
> > On 21/04/2018 12:49 p.m., Bram Moolenaar wrote:
> >>
> >> Patch 8.0.1742
> >> Problem:    Cannot get a list of all the jobs.  Cannot get the command
> >>             of the job.
> >> Solution:   When job_info() is called without an argument return a
> >>             list of jobs.  Otherwise, include the command that the job
> >>             is running.
> >>              (Yegappan Lakshmanan)
> >> Files:      runtime/doc/eval.txt, src/channel.c, src/evalfunc.c,
> >>              src/proto/channel.pro, src/structs.h,
> >>              src/testdir/test_channel.vim
> >>
> >
> > I'm building vim on Windows 7 with MinGW-W64. I get following error:
> >
> > [...]
> > channel.c: In function 'job_start':
> > channel.c:5608:17: error: 'argv' undeclared (first use in this function);
> > did you mean '__argv'?
> >      for (i = 0; argv[i] != NULL; i++)
> >                  ^~~~
> >                  __argv
> > channel.c:5608:17: note: each undeclared identifier is reported only once
> > for each function it appears in
> > make: *** [gobjZi686/channel.o] Error 1
> > Error by compiling gvim.exe
> >
> 
> Can you try building using the attached patch?

This puts the whole command as the first list item.
I made patch 8.0.1745 which split the command in parts.

Still need to make this work for term_start().

-- 
"Marriage is the process of finding out what kind of man your wife
would have preferred"

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui