To: vim-dev@vim.org Subject: Patch 6.1.209 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.209 Problem: Printing doesn't work on Mac OS classic. Solution: Use a ":" for path separator when opening the resource file. (Axel Kielhorn) Files: src/ex_cmds2.c *** ../vim61.208/src/ex_cmds2.c Fri Sep 20 21:47:47 2002 --- src/ex_cmds2.c Fri Oct 4 19:42:42 2002 *************** *** 4112,4118 **** --- 4112,4122 ---- char *resource_name[1]; size_t bytes_read; + #ifdef COLON_AS_PATHSEP + sprintf((char *)resource_buffer, "$VIMRUNTIME:%s", file); /* ak */ + #else sprintf((char *)resource_buffer, "$VIMRUNTIME/%s", file); + #endif expand_env(resource_buffer, resource_filename, MAXPATHL); fd_resource = mch_fopen((char *)resource_filename, READBIN); if (fd_resource == NULL) *** ../vim61.208/src/version.c Sun Oct 6 18:27:32 2002 --- src/version.c Sun Oct 6 18:28:57 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 209, /**/ -- "The sun oozed over the horizon, shoved aside darkness, crept along the greensward, and, with sickly fingers, pushed through the castle window, revealing the pillaged princess, hand at throat, crown asunder, gaping in frenzied horror at the sated, sodden amphibian lying beside her, disbelieving the magnitude of the frog's deception, screaming madly, "You lied!" - Winner of the Bulwer-Lytton contest (San Jose State University), wherein one writes only the first line of a bad novel /// 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 ///