Problem: string(job) doesn't work well on MS-Windows.
Solution: Use the process ID. (Yasuhiro Matsumoto)
# ifdef UNIX
vim_snprintf((char *)buf, NUMBUFLEN,
"process %ld %s", (long)job->jv_pid, status);
+# elif defined(WIN32)
+ vim_snprintf((char *)buf, NUMBUFLEN,
+ "process %ld %s", (long)job->jf_pi.dwProcessId,
+ status);
# else
- /* TODO */
+ /* fall-back */
vim_snprintf((char *)buf, NUMBUFLEN, "process ? %s", status);
# endif
return buf;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1295,
/**/
1294,
/**/