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.119 < prev    next >
Encoding:
Internet Message Format  |  2002-01-06  |  2.1 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.119
  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.119 (depends on patch 6.0.116)
  11. Problem:    VMS: filewritable() doesn't work properly.
  12. Solution:   Use the same method as for Unix. (Zoltan Arpadffy)
  13. Files:      src/eval.c
  14.  
  15.  
  16. *** ../vim60.118/src/eval.c    Tue Jan  1 21:13:14 2002
  17. --- src/eval.c    Mon Jan  7 14:04:48 2002
  18. ***************
  19. *** 3407,3418 ****
  20.   {
  21.       char_u    *p;
  22.       int        retval = 0;
  23. ! #ifdef UNIX
  24.       int        perm = 0;
  25.   #endif
  26.   
  27.       p = get_var_string(&argvars[0]);
  28. ! #ifdef UNIX
  29.       perm = mch_getperm(p);
  30.   #endif
  31.   #ifndef MACOS_CLASSIC /* TODO: get either mch_writable or mch_access */
  32. --- 3407,3418 ----
  33.   {
  34.       char_u    *p;
  35.       int        retval = 0;
  36. ! #if defined(UNIX) || defined(VMS)
  37.       int        perm = 0;
  38.   #endif
  39.   
  40.       p = get_var_string(&argvars[0]);
  41. ! #if defined(UNIX) || defined(VMS)
  42.       perm = mch_getperm(p);
  43.   #endif
  44.   #ifndef MACOS_CLASSIC /* TODO: get either mch_writable or mch_access */
  45. ***************
  46. *** 3420,3426 ****
  47.   # ifdef WIN3264
  48.           mch_writable(p)
  49.   # else
  50. ! #  ifdef UNIX
  51.           (perm & 0222)
  52.   #  endif
  53.   # endif
  54. --- 3420,3426 ----
  55.   # ifdef WIN3264
  56.           mch_writable(p)
  57.   # else
  58. ! # if defined(UNIX) || defined(VMS)
  59.           (perm & 0222)
  60.   #  endif
  61.   # endif
  62. *** ../vim60.118/src/version.c    Wed Jan  2 17:10:11 2002
  63. --- src/version.c    Mon Jan  7 14:04:55 2002
  64. ***************
  65. *** 608,609 ****
  66. --- 608,611 ----
  67.   {   /* Add new patch number below this line */
  68. + /**/
  69. +     119,
  70.   /**/
  71.  
  72. -- 
  73.        [Autumn changed into Winter ... Winter changed into Spring ...  Spring
  74.        changed back into Autumn and Autumn gave Winter and Spring a miss and
  75.        went straight on into Summer ...  Until one day ...]
  76.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  77.  
  78.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  79. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  80.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  81.