2 Subject: Patch 7.2.072 (extra)
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Compiler warning in Sniff code.
12 Solution: Use return value of pipe(). (Dominique Pelle)
16 *** ../vim-7.2.071/src/if_sniff.c Sat Nov 15 14:11:10 2008
17 --- src/if_sniff.c Sat Dec 6 14:01:57 2008
20 #else /* UNIX Version of the Code */
21 int ToSniffEmacs[2], FromSniffEmacs[2];
24 ! pipe(FromSniffEmacs);
27 if ((sniffemacs_pid=fork()) == 0)
29 #else /* UNIX Version of the Code */
30 int ToSniffEmacs[2], FromSniffEmacs[2];
32 ! if (pipe(ToSniffEmacs) != 0)
34 ! if (pipe(FromSniffEmacs) != 0)
38 if ((sniffemacs_pid=fork()) == 0)
39 *** ../vim-7.2.071/src/version.c Wed Dec 24 12:20:10 2008
40 --- src/version.c Wed Dec 24 12:42:13 2008
44 { /* Add new patch number below this line */
50 SIGIRO -- irony detected (iron core dumped)
52 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
53 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
54 \\\ download, build and distribute -- http://www.A-A-P.org ///
55 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///