To: vim-dev@vim.org Subject: patch 5.6.090 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.6.090 Problem: When editing a file in "/home/dir/home/dir" this was replaced with "~~". (Andreas Jellinghaus) Solution: Replace the home directory only once in home_replace(). Files: src/misc1.c *** ../vim-5.6.89/src/misc1.c Wed Apr 12 19:01:02 2000 --- src/misc1.c Mon Jun 5 20:45:41 2000 *************** *** 2733,2738 **** --- 2733,2739 ---- */ if (!vim_ispathsep(src[0]) && --dstlen > 0) *dst++ = '/'; + break; } if (p == homedir_env) break; *** ../vim-5.6.89/src/version.c Mon Jun 5 19:03:00 2000 --- src/version.c Mon Jun 5 20:49:43 2000 *************** *** 420,421 **** --- 420,423 ---- { /* Add new patch number below this line */ + /**/ + 90, /**/ -- BODY: I'm not dead! CART DRIVER: 'Ere. He says he's not dead. LARGE MAN: Yes he is. BODY: I'm not! "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 --/-/