To: vim-dev@vim.org Subject: Patch 6.1.105 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.105 Problem: Win32: The default for 'shellpipe' doesn't redirect stderr. (Dion Nicolaas) Solution: Redirect stderr, depending on the shell (like for 'shellredir'). Files: src/option.c *** ../vim61.104/src/option.c Sun May 5 22:51:14 2002 --- src/option.c Fri Jun 7 20:33:31 2002 *************** *** 2839,2848 **** # endif ) { ! #if defined(FEAT_QUICKFIX) && !defined(WIN3264) if (do_sp) { p_sp = (char_u *)"|& tee"; options[idx_sp].def_val[VI_DEFAULT] = p_sp; } #endif --- 2847,2860 ---- # endif ) { ! #if defined(FEAT_QUICKFIX) if (do_sp) { + # ifdef WIN3264 + p_sp = (char_u *)">&"; + # else p_sp = (char_u *)"|& tee"; + # endif options[idx_sp].def_val[VI_DEFAULT] = p_sp; } #endif *************** *** 2869,2878 **** ) # endif { ! #if defined(FEAT_QUICKFIX) && !defined(WIN3264) if (do_sp) { p_sp = (char_u *)"2>&1| tee"; options[idx_sp].def_val[VI_DEFAULT] = p_sp; } #endif --- 2881,2894 ---- ) # endif { ! #if defined(FEAT_QUICKFIX) if (do_sp) { + # ifdef WIN3264 + p_sp = (char_u *)">%s 2>&1"; + # else p_sp = (char_u *)"2>&1| tee"; + # endif options[idx_sp].def_val[VI_DEFAULT] = p_sp; } #endif *** ../vim61.104/src/version.c Sun Jun 23 14:29:26 2002 --- src/version.c Sun Jun 23 14:30:57 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 105, /**/ -- Linux is just like a wigwam: no Windows, no Gates and an Apache inside. /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///