home *** CD-ROM | disk | FTP | other *** search
- To: vim-dev@vim.org
- Subject: Patch 6.0.119
- Fcc: outbox
- From: Bram Moolenaar <Bram@moolenaar.net>
- MIME-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
- ------------
-
- Patch 6.0.119 (depends on patch 6.0.116)
- Problem: VMS: filewritable() doesn't work properly.
- Solution: Use the same method as for Unix. (Zoltan Arpadffy)
- Files: src/eval.c
-
-
- *** ../vim60.118/src/eval.c Tue Jan 1 21:13:14 2002
- --- src/eval.c Mon Jan 7 14:04:48 2002
- ***************
- *** 3407,3418 ****
- {
- char_u *p;
- int retval = 0;
- ! #ifdef UNIX
- int perm = 0;
- #endif
-
- p = get_var_string(&argvars[0]);
- ! #ifdef UNIX
- perm = mch_getperm(p);
- #endif
- #ifndef MACOS_CLASSIC /* TODO: get either mch_writable or mch_access */
- --- 3407,3418 ----
- {
- char_u *p;
- int retval = 0;
- ! #if defined(UNIX) || defined(VMS)
- int perm = 0;
- #endif
-
- p = get_var_string(&argvars[0]);
- ! #if defined(UNIX) || defined(VMS)
- perm = mch_getperm(p);
- #endif
- #ifndef MACOS_CLASSIC /* TODO: get either mch_writable or mch_access */
- ***************
- *** 3420,3426 ****
- # ifdef WIN3264
- mch_writable(p)
- # else
- ! # ifdef UNIX
- (perm & 0222)
- # endif
- # endif
- --- 3420,3426 ----
- # ifdef WIN3264
- mch_writable(p)
- # else
- ! # if defined(UNIX) || defined(VMS)
- (perm & 0222)
- # endif
- # endif
- *** ../vim60.118/src/version.c Wed Jan 2 17:10:11 2002
- --- src/version.c Mon Jan 7 14:04:55 2002
- ***************
- *** 608,609 ****
- --- 608,611 ----
- { /* Add new patch number below this line */
- + /**/
- + 119,
- /**/
-
- --
- [Autumn changed into Winter ... Winter changed into Spring ... Spring
- changed back into Autumn and Autumn gave Winter and Spring a miss and
- went straight on into Summer ... Until one day ...]
- "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
-
- /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\
- ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim )))
- \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
-