home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.0.227 < prev    next >
Encoding:
Internet Message Format  |  2002-02-16  |  16.9 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.227 (extra)
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.0.227 (extra)
  11. Problem:    The RISC OS port has several problems.
  12. Solution:   Update the makefile and fix some of the problems. (Andy Wingate)
  13. Files:        src/Make_ro.mak, src/os_riscos.c, src/os_riscos.h,
  14.         src/proto/os_riscos.pro, src/search.c
  15.  
  16.  
  17. *** ../vim60.226/src/Make_ro.mak    Sun Mar 25 17:24:17 2001
  18. --- src/Make_ro.mak    Mon Feb 11 22:17:19 2002
  19. ***************
  20. *** 1,17 ****
  21.   #
  22. ! # Makefile for Vim on RiscOS - Thomas Leonard
  23.   #
  24.   
  25. ! CC = gcc -DRISCOS -DFEAT_GUI -O2 -x c
  26.   
  27. ! OBJS = o.buffer o.charset o.diff o.digraph o.edit o.eval o.ex_cmds o.ex_cmds2o.ex_docmd o.ex_getln o.fileio o.fold o.getchar o.if_cscope o.main o.mark o.memfile o.memline o.menu o.message o.misc1 o.misc2 o.mbyte o.normal o.ops o.option o.quickfix o.regexp o.screen o.search o.syntax o.tag o.term o.ui o.undo o.version o.window o.os_riscos o.swis o.gui
  28.   
  29.   all: $(OBJS)
  30. !     drlink -o Prog:!Vim.Vim $(OBJS) gcc:o.libgcc unix:o.unixlib
  31.   
  32.   o.swis: s.swis
  33. !     gcc -c s.swis
  34.   
  35. ! # Note: I havn't put the dependencies in here since I prefer to just
  36. ! # recompile bits at a time (eg os_riscos.h is included by everyone
  37. ! # but I don't want to recompile everything when I change it).
  38. --- 1,160 ----
  39.   #
  40. ! # Makefile for Vim on RISC OS - Andy Wingate
  41.   #
  42.   
  43. ! GCC         = gcc -mthrowback
  44. ! CFLAGS     = -DRISCOS -DUSE_GUI
  45. ! # Optimising on ex_docmd.c seems to cause segfaults on compilation. Needs investigation.
  46. ! CCEX_DOCMD = $(GCC) $(CFLAGS)
  47. ! CC         = $(GCC) $(CFLAGS) -O2
  48. ! # -DUP_BC_PC_EXTERN for term.c needed as BC defined in termlib.c and term.c
  49.   
  50. ! TERMFLAG   = -DUP_BC_PC_EXTERN
  51. ! ASMFLAGS   = -throwback -objasm -gcc
  52. ! OBJS =  o.buffer o.charset o.digraph o.edit o.eval o.ex_cmds o.ex_cmds2 o.diff \
  53. !     o.ex_docmd o.ex_getln o.fileio o.fold o.getchar o.main o.mark o.mbyte  \
  54. !     o.memfile o.memline o.menu o.message o.misc1 o.misc2 o.move     \
  55. !     o.normal o.ops o.option o.quickfix o.regexp o.screen o.search   \
  56. !     o.syntax o.tag o.term o.termlib o.ui o.undo o.version o.window  \
  57. !     o.os_riscos o.swis o.gui o.gui_riscos
  58.   
  59.   all: $(OBJS)
  60. !     $(GCC) -o Vim $(OBJS) 
  61. ! install: Vim
  62. !     squeeze -v Vim @.!Vim.Vim
  63.   
  64.   o.swis: s.swis
  65. !     as $(ASMFLAGS) -o o.swis s.swis
  66. ! # Rules for object files
  67. ! # You shouldn't need to put all this information in as all but term.c have the same
  68. ! # rule (and only then to save extra defines) but some versions of make are awkward.
  69. ! o.buffer:    c.buffer
  70. !     $(CC) -c c.buffer -o o.buffer
  71. ! o.charset:    c.charset
  72. !     $(CC) -c c.charset -o o.charset
  73. ! o.digraph:    c.digraph
  74. !     $(CC) -c c.digraph -o o.digraph
  75. ! o.diff:        c.diff
  76. !     $(CC) -c c.diff -o o.diff
  77. ! o.edit:        c.edit
  78. !     $(CC) -c c.edit -o o.edit
  79. ! o.eval:        c.eval
  80. !     $(CC) -c c.eval -o o.eval
  81. ! o.ex_cmds:    c.ex_cmds
  82. !     $(CC) -c c.ex_cmds -o o.ex_cmds
  83. ! o.ex_cmds2:    c.ex_cmds2
  84. !     $(CC) -c c.ex_cmds2 -o o.ex_cmds2
  85. ! o.ex_docmd:    c.ex_docmd
  86. !     $(CCEX_DOCMD) -c c.ex_docmd -o o.ex_docmd
  87. ! o.ex_getln:    c.ex_getln
  88. !     $(CC) -c c.ex_getln -o o.ex_getln
  89. ! o.fileio:    c.fileio
  90. !     $(CC) -c c.fileio -o o.fileio
  91. ! o.fold:        c.fold
  92. !     $(CC) -c c.fold -o o.fold
  93. ! o.getchar:    c.getchar
  94. !     $(CC) -c c.getchar -o o.getchar
  95. ! o.gui:        c.gui
  96. !     $(CC) -v -c c.gui -o o.gui
  97. ! o.gui_riscos:    c.gui_riscos
  98. !     $(CC) -v -c c.gui_riscos -o o.gui_riscos
  99. ! o.main:        c.main
  100. !     $(CC) -c c.main -o o.main
  101. ! o.mark:        c.mark
  102. !     $(CC) -c c.mark -o o.mark
  103. ! o.mbyte:    c.mbyte
  104. !     $(CC) -c c.mbyte -o o.mbyte
  105. ! o.memfile:    c.memfile
  106. !     $(CC) -c c.memfile -o o.memfile
  107. ! o.memline:    c.memline
  108. !     $(CC) -c c.memline -o o.memline
  109. ! o.menu:        c.menu
  110. !     $(CC) -c c.menu -o o.menu
  111. ! o.message:    c.message
  112. !     $(CC) -c c.message -o o.message
  113. ! o.misc1:    c.misc1
  114. !     $(CC) -c c.misc1 -o o.misc1
  115. ! o.misc2:    c.misc2
  116. !     $(CC) -c c.misc2 -o o.misc2
  117. ! o.move:        c.move
  118. !     $(CC) -c c.move -o o.move
  119. ! o.normal:    c.normal
  120. !     $(CC) -c c.normal -o o.normal
  121. ! o.ops:        c.ops
  122. !     $(CC) -c c.ops -o o.ops
  123. ! o.option:    c.option
  124. !     $(CC) -c c.option -o o.option
  125. ! o.os_riscos:    c.os_riscos
  126. !     $(CC) -c c.os_riscos -o o.os_riscos
  127. ! o.pty:        c.pty
  128. !     $(CC) -c c.pty -o p.pty
  129. ! o.quickfix:    c.quickfix
  130. !     $(CC) -c c.quickfix -o o.quickfix
  131. ! o.regexp:    c.regexp
  132. !     $(CC) -c c.regexp -o o.regexp
  133. ! o.screen:    c.screen
  134. !     $(CC) -c c.screen -o o.screen
  135. ! o.search:    c.search
  136. !     $(CC) -c c.search -o o.search
  137. ! o.syntax:    c.syntax
  138. !     $(CC) -c c.syntax -o o.syntax
  139. ! o.tag:        c.tag
  140. !     $(CC) -c c.tag -o o.tag
  141. ! o.term:        c.term
  142. !     $(CC) $(TERMFLAG) -c c.term -o o.term
  143. ! o.termlib:    c.termlib
  144. !     $(CC) -c c.termlib -o o.termlib
  145. ! o.ui:        c.ui
  146. !     $(CC) -c c.ui -o o.ui
  147. ! o.undo:        c.undo
  148. !     $(CC) -c c.undo -o o.undo
  149. ! o.version:    c.version
  150. !     $(CC) -c c.version -o o.version
  151.   
  152. ! o.window:    c.window
  153. !     $(CC) -c c.window -o o.window
  154. *** ../vim60.226/src/os_riscos.c    Sat Sep  1 19:57:05 2001
  155. --- src/os_riscos.c    Sun Feb 17 15:32:34 2002
  156. ***************
  157. *** 635,640 ****
  158. --- 635,668 ----
  159.       return FALSE;
  160.   }
  161.   
  162. + #if defined(FEAT_EVAL) || defined(PROTO)
  163. + /*
  164. +  * Return 1 if "name" can be executed, 0 if not.
  165. +  * Return -1 if unknown. Requires which to work.
  166. +  */
  167. +     int
  168. + mch_can_exe(name)
  169. +     char_u    *name;
  170. + {
  171. +     char_u    *buf;
  172. +     char_u    *p;
  173. +     int        retval;
  174. +     buf = alloc((unsigned)STRLEN(name) + 7);
  175. +     if (buf == NULL)
  176. +     return -1;
  177. +     sprintf((char *)buf, "which %s", name);
  178. +     p = get_cmd_output(buf, SHELL_SILENT);
  179. +     vim_free(buf);
  180. +     if (p == NULL)
  181. +     return -1;
  182. +     /* result can be: "name: Command not found" */
  183. +     retval = (*p != NUL && strstr((char *)p, "not found") == NULL);
  184. +     vim_free(p);
  185. +     return retval;
  186. + }
  187. + #endif
  188.   /*
  189.    * Check what "name" is:
  190.    * NODE_NORMAL: file or directory (or doesn't exist)
  191. ***************
  192. *** 653,659 ****
  193.   mch_early_init()
  194.   {
  195.       /* Turn off all the horrible filename munging in UnixLib. */
  196. !     __uname_control = __UNAME_NO_PROCESS;
  197.   }
  198.   
  199.       void
  200. --- 681,687 ----
  201.   mch_early_init()
  202.   {
  203.       /* Turn off all the horrible filename munging in UnixLib. */
  204. !     __riscosify_control = __RISCOSIFY_NO_PROCESS;
  205.   }
  206.   
  207.       void
  208. ***************
  209. *** 853,859 ****
  210.    *
  211.    * Returns number of items added to gap.
  212.    */
  213. !     static int
  214.   expand_section(gap, root, rest, flags)
  215.       garray_T    *gap;
  216.       char_u    *root;    /* Non-wildcarded path to search */
  217. --- 881,887 ----
  218.    *
  219.    * Returns number of items added to gap.
  220.    */
  221. !     int
  222.   expand_section(gap, root, rest, flags)
  223.       garray_T    *gap;
  224.       char_u    *root;    /* Non-wildcarded path to search */
  225. *** ../vim60.226/src/os_riscos.h    Thu Jul 26 14:00:31 2001
  226. --- src/os_riscos.h    Sun Feb 17 15:32:27 2002
  227. ***************
  228. *** 9,17 ****
  229.   #include <sys/types.h>
  230.   #include <sys/stat.h>
  231.   #include <sys/ioctl.h>
  232. ! #include <termio.h>
  233.   #include <stdlib.h>
  234. ! #include <unistd.h>
  235.   #include <fcntl.h>
  236.   
  237.   #define CASE_INSENSITIVE_FILENAME
  238. --- 9,18 ----
  239.   #include <sys/types.h>
  240.   #include <sys/stat.h>
  241.   #include <sys/ioctl.h>
  242. ! #include <termios.h>
  243.   #include <stdlib.h>
  244. ! #include <unixlib/local.h>
  245. ! #include <errno.h>
  246.   #include <fcntl.h>
  247.   
  248.   #define CASE_INSENSITIVE_FILENAME
  249. ***************
  250. *** 21,29 ****
  251.   #define USE_TERM_CONSOLE
  252.   #define HAVE_AVAIL_MEM
  253.   
  254. ! /* 10, but 4 char margin for extension. */
  255.   #ifndef BASENAMELEN
  256. ! # define BASENAMELEN 6
  257.   #endif
  258.   
  259.   #ifndef TEMNAME
  260. --- 22,30 ----
  261.   #define USE_TERM_CONSOLE
  262.   #define HAVE_AVAIL_MEM
  263.   
  264. ! /* Longer filenames now accessible to all */
  265.   #ifndef BASENAMELEN
  266. ! # define BASENAMELEN 64 /* Same length as unzip */
  267.   #endif
  268.   
  269.   #ifndef TEMNAME
  270. ***************
  271. *** 45,51 ****
  272.   #endif
  273.   
  274.   #ifndef DFLT_VDIR
  275. ! # define DFLT_VDIR    "Choices:vimfiles/view"    /* default for 'viewdir' */
  276.   #endif
  277.   
  278.   #ifndef TERMCAPFILE
  279. --- 46,52 ----
  280.   #endif
  281.   
  282.   #ifndef DFLT_VDIR
  283. ! # define DFLT_VDIR    "Choices:Vim.vimfiles/view"    /* default for 'viewdir' */
  284.   #endif
  285.   
  286.   #ifndef TERMCAPFILE
  287. ***************
  288. *** 57,69 ****
  289.   # define SYNTAX_FNAME    "Vim:Syntax.%s"
  290.   #endif
  291.   
  292.   #define FEAT_VIMINFO
  293.   
  294.   #ifndef VIMINFO_FILE
  295. ! # define VIMINFO_FILE    "<Choices$Write>.VimInfo"
  296.   #endif
  297.   #ifndef VIMINFO_FILE2
  298. ! # define VIMINFO_FILE2    "Choices:VimInfo"
  299.   #endif
  300.   
  301.   #ifndef VIMRC_FILE
  302. --- 58,74 ----
  303.   # define SYNTAX_FNAME    "Vim:Syntax.%s"
  304.   #endif
  305.   
  306. + #ifndef EVIM_FILE
  307. + # define EVIM_FILE    "Vim:Evim"
  308. + #endif
  309.   #define FEAT_VIMINFO
  310.   
  311.   #ifndef VIMINFO_FILE
  312. ! # define VIMINFO_FILE    "<Choices$Write>.Vim.VimInfo"
  313.   #endif
  314.   #ifndef VIMINFO_FILE2
  315. ! # define VIMINFO_FILE2    "Choices:Vim.VimInfo"
  316.   #endif
  317.   
  318.   #ifndef VIMRC_FILE
  319. ***************
  320. *** 76,82 ****
  321.   # define GVIMRC_FILE    "/gvimrc"
  322.   #endif
  323.   #ifndef VIEW_FILE
  324. ! # define VIEW_FILE    "/View.vim"
  325.   #endif
  326.   #ifndef USR_VIMRC_FILE
  327.   # define USR_VIMRC_FILE    "Vim:Evim"
  328. --- 81,87 ----
  329.   # define GVIMRC_FILE    "/gvimrc"
  330.   #endif
  331.   #ifndef VIEW_FILE
  332. ! # define VIEW_FILE    "/View"
  333.   #endif
  334.   #ifndef USR_VIMRC_FILE
  335.   # define USR_VIMRC_FILE    "Vim:Evim"
  336. ***************
  337. *** 85,97 ****
  338.   # define SESSION_FILE    "/Session.vim"
  339.   #endif
  340.   #ifndef USR_VIMRC_FILE
  341. ! # define USR_VIMRC_FILE    "Choices:UserVimRC"
  342.   #endif
  343.   #ifndef USR_GVIMRC_FILE
  344. ! # define USR_GVIMRC_FILE    "Choices:GVimRC"
  345.   #endif
  346.   #ifndef USR_EXRC_FILE
  347. ! # define USR_EXRC_FILE    "Choices:ExRC"
  348.   #endif
  349.   #ifndef SYS_VIMRC_FILE
  350.   # define SYS_VIMRC_FILE        "Vim:VimRC"
  351. --- 90,102 ----
  352.   # define SESSION_FILE    "/Session.vim"
  353.   #endif
  354.   #ifndef USR_VIMRC_FILE
  355. ! # define USR_VIMRC_FILE    "Choices:Vim.VimRC"
  356.   #endif
  357.   #ifndef USR_GVIMRC_FILE
  358. ! # define USR_GVIMRC_FILE    "Choices:Vim.GVimRC"
  359.   #endif
  360.   #ifndef USR_EXRC_FILE
  361. ! # define USR_EXRC_FILE    "Choices:Vim.ExRC"
  362.   #endif
  363.   #ifndef SYS_VIMRC_FILE
  364.   # define SYS_VIMRC_FILE        "Vim:VimRC"
  365. ***************
  366. *** 106,131 ****
  367.   # define SYS_OPTWIN_FILE    "Vim:Optwin"
  368.   #endif
  369.   #ifndef FILETYPE_FILE
  370. ! # define FILETYPE_FILE        "Filetype"
  371.   #endif
  372.   #ifndef FTPLUGIN_FILE
  373. ! # define FTPLUGIN_FILE        "Ftplugin"
  374.   #endif
  375.   #ifndef INDENT_FILE
  376. ! # define INDENT_FILE        "Indent"
  377.   #endif
  378.   #ifndef FTOFF_FILE
  379. ! # define FTOFF_FILE        "Ftoff"
  380.   #endif
  381.   #ifndef FTPLUGOF_FILE
  382. ! # define FTPLUGOF_FILE        "Ftplugof"
  383.   #endif
  384.   #ifndef INDOFF_FILE
  385. ! # define INDOFF_FILE        "Indoff"
  386.   #endif
  387.   
  388.   #define DFLT_ERRORFILE        "errors/vim"
  389. ! #define DFLT_RUNTIMEPATH    "Choices:vimfiles,$VIMRUNTIME,Choices:vimfiles/after"
  390.   
  391.   /*
  392.    * RISC PCs have plenty of memory, use large buffers
  393. --- 111,136 ----
  394.   # define SYS_OPTWIN_FILE    "Vim:Optwin"
  395.   #endif
  396.   #ifndef FILETYPE_FILE
  397. ! # define FILETYPE_FILE        "Vim:Filetype"
  398.   #endif
  399.   #ifndef FTPLUGIN_FILE
  400. ! # define FTPLUGIN_FILE        "Vim:Ftplugin/vim"
  401.   #endif
  402.   #ifndef INDENT_FILE
  403. ! # define INDENT_FILE        "Vim:Indent/vim"
  404.   #endif
  405.   #ifndef FTOFF_FILE
  406. ! # define FTOFF_FILE        "Vim:Ftoff"
  407.   #endif
  408.   #ifndef FTPLUGOF_FILE
  409. ! # define FTPLUGOF_FILE        "Vim:Ftplugof"
  410.   #endif
  411.   #ifndef INDOFF_FILE
  412. ! # define INDOFF_FILE        "Vim:Indoff"
  413.   #endif
  414.   
  415.   #define DFLT_ERRORFILE        "errors/vim"
  416. ! #define DFLT_RUNTIMEPATH    "Choices:Vim.vimfiles,$VIMRUNTIME,Choices:Vim.vimfiles/after"
  417.   
  418.   /*
  419.    * RISC PCs have plenty of memory, use large buffers
  420. ***************
  421. *** 155,161 ****
  422.   int xswi(int swinum, ...);      /* Returns errors using v flag */
  423.   extern int r0, r1, r2, r3, r4, r5, r6, r7;  /* For return values */
  424.   
  425. ! #include <sys/swis.h>
  426.   
  427.   #define mch_memmove(to, from, len) memmove((char *)(to), (char *)(from), len)
  428.   #define mch_rename(src, dst) rename(src, dst)
  429. --- 160,167 ----
  430.   int xswi(int swinum, ...);      /* Returns errors using v flag */
  431.   extern int r0, r1, r2, r3, r4, r5, r6, r7;  /* For return values */
  432.   
  433. ! #include <kernel.h>
  434. ! #include <swis.h>
  435.   
  436.   #define mch_memmove(to, from, len) memmove((char *)(to), (char *)(from), len)
  437.   #define mch_rename(src, dst) rename(src, dst)
  438. *** ../vim60.226/src/proto/os_riscos.pro    Tue Sep 25 21:49:36 2001
  439. --- src/proto/os_riscos.pro    Sun Feb 17 15:32:34 2002
  440. ***************
  441. *** 2,11 ****
  442.   void mch_write __ARGS((char_u *s, int len));
  443.   int mch_inchar __ARGS((char_u *buf, int maxlen, long wtime));
  444.   int mch_char_avail __ARGS((void));
  445. ! long_u mch_avail_mem __ARGS((int special));
  446.   void mch_delay __ARGS((long msec, int ignoreinput));
  447.   void mch_suspend __ARGS((void));
  448.   void mch_init __ARGS((void));
  449.   int mch_check_win __ARGS((int argc, char **argv));
  450.   int mch_input_isatty __ARGS((void));
  451.   int mch_can_restore_title __ARGS((void));
  452. --- 2,16 ----
  453.   void mch_write __ARGS((char_u *s, int len));
  454.   int mch_inchar __ARGS((char_u *buf, int maxlen, long wtime));
  455.   int mch_char_avail __ARGS((void));
  456. ! long_u mch_total_mem __ARGS((int special));
  457.   void mch_delay __ARGS((long msec, int ignoreinput));
  458. + int mch_stackcheck __ARGS((char *p));
  459. + void mch_startjmp __ARGS((void));
  460. + void mch_endjmp __ARGS((void));
  461. + void mch_didjmp __ARGS((void));
  462.   void mch_suspend __ARGS((void));
  463.   void mch_init __ARGS((void));
  464. + void reset_signals __ARGS((void));
  465.   int mch_check_win __ARGS((int argc, char **argv));
  466.   int mch_input_isatty __ARGS((void));
  467.   int mch_can_restore_title __ARGS((void));
  468. ***************
  469. *** 13,31 ****
  470. --- 18,43 ----
  471.   void mch_settitle __ARGS((char_u *title, char_u *icon));
  472.   void mch_restore_title __ARGS((int which));
  473.   int mch_get_user_name __ARGS((char_u *s, int len));
  474. + int mch_get_uname __ARGS((uid_t uid, char_u *s, int len));
  475.   void mch_get_host_name __ARGS((char_u *s, int len));
  476.   long mch_get_pid __ARGS((void));
  477.   int mch_dirname __ARGS((char_u *buf, int len));
  478. + void slash_adjust __ARGS((char_u *p));
  479.   int mch_FullName __ARGS((char_u *fname, char_u *buf, int len, int force));
  480.   int mch_isFullName __ARGS((char_u *fname));
  481.   long mch_getperm __ARGS((char_u *name));
  482.   int mch_setperm __ARGS((char_u *name, long perm));
  483. + vim_acl_T mch_get_acl __ARGS((char_u *fname));
  484. + void mch_set_acl __ARGS((char_u *fname, vim_acl_T aclent));
  485. + void mch_free_acl __ARGS((vim_acl_T aclent));
  486.   void mch_hide __ARGS((char_u *name));
  487.   int mch_isdir __ARGS((char_u *name));
  488. + int mch_can_exe __ARGS((char_u *name));
  489.   int mch_nodetype __ARGS((char_u *name));
  490.   void mch_early_init __ARGS((void));
  491.   void mch_exit __ARGS((int r));
  492.   void mch_settmode __ARGS((int tmode));
  493. + void get_stty __ARGS((void));
  494.   void mch_setmouse __ARGS((int on));
  495.   int mch_screenmode __ARGS((char_u *arg));
  496.   int mch_get_shellsize __ARGS((void));
  497. ***************
  498. *** 37,42 ****
  499. --- 49,56 ----
  500.   int mch_expand_wildcards __ARGS((int num_pat, char_u **pat, int *num_file, char_u ***file, int flags));
  501.   int mch_has_exp_wildcard __ARGS((char_u *p));
  502.   int mch_has_wildcard __ARGS((char_u *p));
  503. + int mch_libcall __ARGS((char_u *libname, char_u *funcname, char_u *argstring, int argint, char_u **string_result, int *number_result));
  504. + void setup_term_clip __ARGS((void));
  505.   int mch_remove __ARGS((char_u *file));
  506.   char_u *mch_munge_fname __ARGS((char_u *fname));
  507.   int ro_buflist_add __ARGS((char_u *old_name));
  508. *** ../vim60.226/src/search.c    Thu Feb  7 11:37:45 2002
  509. --- src/search.c    Sun Feb 17 15:32:34 2002
  510. ***************
  511. *** 3383,3389 ****
  512.       char_u    *already = NULL;
  513.       char_u    *startp = NULL;
  514.   #ifdef RISCOS
  515. !     int        previous_munging = __uname_control;
  516.   #endif
  517.   #if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX)
  518.       win_T    *curwin_save = NULL;
  519. --- 3383,3389 ----
  520.       char_u    *already = NULL;
  521.       char_u    *startp = NULL;
  522.   #ifdef RISCOS
  523. !     int        previous_munging = __riscosify_control;
  524.   #endif
  525.   #if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX)
  526.       win_T    *curwin_save = NULL;
  527. ***************
  528. *** 3399,3405 ****
  529.   
  530.   #ifdef RISCOS
  531.       /* UnixLib knows best how to munge c file names - turn munging back on. */
  532. !     __uname_control = __UNAME_LONG_TRUNC;
  533.   #endif
  534.   
  535.       if (type != CHECK_PATH && type != FIND_DEFINE
  536. --- 3399,3405 ----
  537.   
  538.   #ifdef RISCOS
  539.       /* UnixLib knows best how to munge c file names - turn munging back on. */
  540. !     __riscosify_control = __RISCOSIFY_LONG_TRUNCATE;
  541.   #endif
  542.   
  543.       if (type != CHECK_PATH && type != FIND_DEFINE
  544. ***************
  545. *** 3995,4001 ****
  546.   
  547.   #ifdef RISCOS
  548.      /* Restore previous file munging state. */
  549. !     __uname_control = previous_munging;
  550.   #endif
  551.   }
  552.   
  553. --- 3995,4001 ----
  554.   
  555.   #ifdef RISCOS
  556.      /* Restore previous file munging state. */
  557. !     __riscosify_control = previous_munging;
  558.   #endif
  559.   }
  560.   
  561. *** ../vim60.226/src/version.c    Sun Feb 17 13:55:07 2002
  562. --- src/version.c    Sun Feb 17 15:32:56 2002
  563. ***************
  564. *** 608,609 ****
  565. --- 608,611 ----
  566.   {   /* Add new patch number below this line */
  567. + /**/
  568. +     227,
  569.   /**/
  570.  
  571. -- 
  572. ARTHUR: CHARGE!
  573.    [The mighty ARMY charges.  Thundering noise of feet.  Clatter of coconuts.
  574.    Shouts etc.   Suddenly there is a wail of a siren and a couple of police
  575.    cars roar round in front of the charging ARMY and the POLICE leap out and
  576.    stop them.  TWO POLICEMAN and the HISTORIAN'S WIFE.  Black Marias skid up
  577.    behind them.]
  578. HISTORIAN'S WIFE: They're the ones, I'm sure.
  579.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  580.  
  581.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  582. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  583. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  584.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  585.