To: vim-dev@vim.org Subject: Patch 6.1.204 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.204 (depends on 6.1.129) Problem: Warning for an illegal pointer on Solaris. Solution: Add a typecast. (Derek Wyatt) Files: src/misc2.c *** ../vim61.203/src/misc2.c Mon Sep 16 22:00:32 2002 --- src/misc2.c Mon Sep 30 22:26:16 2002 *************** *** 2674,2680 **** return FALSE; /* no file name is not illegal */ if (name[strlen(name) - 1] != '/') return FALSE; /* no trailing slash */ ! if (mch_isdir(name)) return FALSE; /* trailing slash for a directory */ return TRUE; } --- 2674,2680 ---- return FALSE; /* no file name is not illegal */ if (name[strlen(name) - 1] != '/') return FALSE; /* no trailing slash */ ! if (mch_isdir((char_u *)name)) return FALSE; /* trailing slash for a directory */ return TRUE; } *** ../vim61.203/src/version.c Mon Sep 30 22:22:34 2002 --- src/version.c Mon Sep 30 22:27:44 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 204, /**/ -- From "know your smileys": <<<:-{ Worf (Never smiles anyways, so he's a bad smiley) /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.vim.org \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///