To: vim-dev@vim.org Subject: Patch 6.1.019 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.019 (extra) Problem: Win32: File name is messed up when editing just a drive name. (Walter Briscoe) Solution: Append a NUL after the drive name. (Vince Negri) Files: src/os_win32.c *** ../vim61.018/src/os_win32.c Thu Mar 7 20:10:13 2002 --- src/os_win32.c Sat Apr 20 20:12:23 2002 *************** *** 2118,2123 **** --- 2118,2124 ---- /* copy leading drive letter */ *ptrue++ = *porig++; *ptrue++ = *porig++; + *ptrue = NUL; /* in case nothing follows */ } while (*porig != NUL) *** ../vim61.018/src/version.c Sat Apr 13 19:31:02 2002 --- src/version.c Sat Apr 20 21:47:47 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 19, /**/ -- hundred-and-one symptoms of being an internet addict: 254. You wake up daily with your keyboard printed on your forehead. /// 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 ///