To: vim-dev@vim.org Subject: Patch 5.6.012 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.6.012 Problem: When using "zsh" for /bin/sh, toolcheck may hang until "exit" is typed. (Kuratczyk) Solution: Add "-c exit" when checking for the shell version. Files: src/toolcheck *** ../vim-5.6.11/src/toolcheck Mon May 12 19:40:16 1997 --- src/toolcheck Tue Feb 8 20:01:41 2000 *************** *** 5,11 **** # 24.7.95 jw. retval=0 ! reply="`sh -version 2>&1 < /dev/null`" case "$reply" in GNU*1.14.3*) echo "- sh is '$reply'"; --- 5,11 ---- # 24.7.95 jw. retval=0 ! reply="`sh -version -c exit 2>&1 < /dev/null`" case "$reply" in GNU*1.14.3*) echo "- sh is '$reply'"; *** ../vim-5.6.11/src/version.c Wed Feb 9 22:17:24 2000 --- src/version.c Wed Feb 9 22:18:03 2000 *************** *** 420,421 **** --- 420,423 ---- { /* Add new patch number below this line */ + /**/ + 12, /**/ -- ARTHUR: The swallow may fly south with the sun, or the house martin or the plover seek warmer hot lands in winter, yet these are not strangers to our land. SOLDIER: Are you suggesting coconuts migrate? "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\ \ \ Vim: http://www.vim.org ICCF Holland: http://www.vim.org/iccf / /