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

Re: vim60ad make test on hpux does a segv

Expand Messages
  • Mark Waggoner
    It appears that this was due to the use of expandpath(), which has been noted to be a problem, in menu.vim. The following patch fixes it: ... ***************
    Message 1 of 2 , May 2 12:10 PM
    • 0 Attachment
      It appears that this was due to the use of expandpath(), which has been
      noted to be a problem, in menu.vim.

      The following patch fixes it:

      *** runtime/menu.vim.orig Wed May 2 12:05:19 2001
      --- runtime/menu.vim Wed May 2 12:05:48 2001
      ***************
      *** 275,282 ****
      endfun

      " Setup the Edit.Color Scheme submenu
      ! if exists("*expandpath")
      ! let s:n = expandpath("colors/*.vim", &runtimepath)
      let s:idx = 100
      while strlen(s:n) > 0
      let s:i = stridx(s:n, "\n")
      --- 275,282 ----
      endfun

      " Setup the Edit.Color Scheme submenu
      ! if exists("*globpath")
      ! let s:n = globpath(&runtimepath,"colors/*.vim")
      let s:idx = 100
      while strlen(s:n) > 0
      let s:i = stridx(s:n, "\n")
      ***************
      *** 300,306 ****
      " Setup the Edit.Keymap submenu
      if has("keymap")
      amenu 20.460.90 &Edit.Keymap.None :set keymap=<CR>
      ! let s:n = expandpath("keymap/*.vim", &runtimepath)
      let s:idx = 100
      while strlen(s:n) > 0
      let s:i = stridx(s:n, "\n")
      --- 300,306 ----
      " Setup the Edit.Keymap submenu
      if has("keymap")
      amenu 20.460.90 &Edit.Keymap.None :set keymap=<CR>
      ! let s:n = globpath(&runtimepath, "keymap/*.vim")
      let s:idx = 100
      while strlen(s:n) > 0
      let s:i = stridx(s:n, "\n")

      On Wed, 2 May 2001, Mark Waggoner wrote:

      > Date: Wed, 2 May 2001 10:07:55 -0700 (PDT)
      > From: Mark Waggoner <waggoner@...>
      > To: Vim Developer List <vim-dev@...>
      > Subject: vim60ad make test on hpux does a segv
      >
      >
      > I built vim 60ad with several patches that have been posted on 6.0ad.
      > Patches included are:
      > colors patch from Bram
      > syn_id_2attr() patch from Bram
      > fold.c patch from Bram
      > Modified virtualedit patches from Chase Tingley
      > (I sent this patch to the list earlier)
      >
      > make test on hpux results in a segv.
      > make test on linux did not segv.
      >

      blah blah blah...

      --------------------------------------------------------------------------
      Mark Waggoner waggoner@... (503) 712-3335
      Haven't you heard about the BIG HUNGRY BEAR?
    Your message has been successfully submitted and would be delivered to recipients shortly.