Mercurial > vim
changeset 1774:196d564759eb v7.2.072
updated for version 7.2-072
author | vimboss |
---|---|
date | Wed, 24 Dec 2008 11:43:49 +0000 |
parents | c22ded254d05 |
children | b209c3f94ab7 |
files | src/if_sniff.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/if_sniff.c +++ b/src/if_sniff.c @@ -2,8 +2,6 @@ * * if_sniff.c Interface between Vim and SNiFF+ * - * $Id$ - * * See README.txt for an overview of the Vim source code. */ @@ -716,8 +714,10 @@ ConnectToSniffEmacs() #else /* UNIX Version of the Code */ int ToSniffEmacs[2], FromSniffEmacs[2]; - pipe(ToSniffEmacs); - pipe(FromSniffEmacs); + if (pipe(ToSniffEmacs) != 0) + return 1; + if (pipe(FromSniffEmacs) != 0) + return 1; /* fork */ if ((sniffemacs_pid=fork()) == 0)