To: vim-dev@vim.org Subject: Patch 6.1.365 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.365 (depends on 6.1.217) Problem: Setting a breakpoint in a sourced file with a relative path name doesn't work. (Servatius Brandt) Solution: Expand the file name to a full path. Files: src/ex_cmds2.c *** ../vim61.364/src/ex_cmds2.c Mon Feb 24 11:29:14 2003 --- src/ex_cmds2.c Mon Mar 3 20:12:43 2003 *************** *** 327,333 **** EMSG2(_(e_invarg2), arg); return FAIL; } ! if ((bp->dbg_name = vim_strsave(p)) == NULL) return FAIL; return OK; } --- 327,333 ---- EMSG2(_(e_invarg2), arg); return FAIL; } ! if ((bp->dbg_name = FullName_save(p, FALSE)) == NULL) return FAIL; return OK; } *** ../vim61.364/src/version.c Wed Feb 26 21:12:31 2003 --- src/version.c Mon Mar 3 20:15:48 2003 *************** *** 608,609 **** --- 612,615 ---- { /* Add new patch number below this line */ + /**/ + 365, /**/ -- This message contains 78% recycled characters. /// 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 /// \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///