To: vim-dev@vim.org Subject: Patch 6.0aw.004 Fcc: outbox From: Bram Moolenaar ------------ Patch 6.0aw.004 Problem: Win32: Using a double-byte encoding may cause a crash. Solution: Fixing the file name case used a wrong pointer. (Muraoka Taro) Files: src/os_win32.c *** ../vim-6.0aw/src/os_win32.c Sun Sep 16 22:21:06 2001 --- src/os_win32.c Mon Sep 17 16:41:59 2001 *************** *** 2117,2123 **** if (enc_dbcs) { ! l = (*mb_ptr2len_check)(ptrue); while (--l >= 0) *ptrue++ = *porig++; } --- 2117,2123 ---- if (enc_dbcs) { ! l = (*mb_ptr2len_check)(porig); while (--l >= 0) *ptrue++ = *porig++; } -- hundred-and-one symptoms of being an internet addict: 244. You use more than 20 passwords. /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim ))) \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///