comparison src/eval.c @ 1454:0713c530729b v7.1.169

updated for version 7.1-169
author vimboss
date Fri, 07 Dec 2007 16:09:32 +0000
parents c7654c4db8fd
children 0f3f3090491f
comparison
equal deleted inserted replaced
1453:159d87361e4b 1454:0713c530729b
15824 char_u buf[NUMBUFLEN]; 15824 char_u buf[NUMBUFLEN];
15825 int err = FALSE; 15825 int err = FALSE;
15826 FILE *fd; 15826 FILE *fd;
15827 15827
15828 if (check_restricted() || check_secure()) 15828 if (check_restricted() || check_secure())
15829 return; 15829 goto done;
15830 15830
15831 if (argvars[1].v_type != VAR_UNKNOWN) 15831 if (argvars[1].v_type != VAR_UNKNOWN)
15832 { 15832 {
15833 /* 15833 /*
15834 * Write the string to a temp file, to be used for input of the shell 15834 * Write the string to a temp file, to be used for input of the shell
15835 * command. 15835 * command.
15836 */ 15836 */
15837 if ((infile = vim_tempname('i')) == NULL) 15837 if ((infile = vim_tempname('i')) == NULL)
15838 { 15838 {
15839 EMSG(_(e_notmp)); 15839 EMSG(_(e_notmp));
15840 return; 15840 goto done;
15841 } 15841 }
15842 15842
15843 fd = mch_fopen((char *)infile, WRITEBIN); 15843 fd = mch_fopen((char *)infile, WRITEBIN);
15844 if (fd == NULL) 15844 if (fd == NULL)
15845 { 15845 {