Loading ...
Sorry, an error occurred while loading the content.

Patch 6.1.209

Expand Messages
  • Bram Moolenaar
    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)
    Message 1 of 1 , Oct 6, 2002
    • 0 Attachment
      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@... -- 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 ///
    Your message has been successfully submitted and would be delivered to recipients shortly.