|
Karsten Hopp |
e8ea8c |
To: vim-dev@vim.org
|
|
Karsten Hopp |
e8ea8c |
Subject: patch 7.0.180 (extra)
|
|
Karsten Hopp |
e8ea8c |
Fcc: outbox
|
|
Karsten Hopp |
e8ea8c |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
e8ea8c |
Mime-Version: 1.0
|
|
Karsten Hopp |
e8ea8c |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
e8ea8c |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
e8ea8c |
------------
|
|
Karsten Hopp |
e8ea8c |
|
|
Karsten Hopp |
e8ea8c |
Patch 7.0.180 (extra, after 7.0.171)
|
|
Karsten Hopp |
e8ea8c |
Problem: VMS: build failed. Problem with swapfiles.
|
|
Karsten Hopp |
e8ea8c |
Solution: Add "compiled_arch". Always expand path and pass it to
|
|
Karsten Hopp |
e8ea8c |
buf_modname(). (Zoltan Arpadffy)
|
|
Karsten Hopp |
e8ea8c |
Files: src/globals.h, src/memline.c, src/os_unix.c, runtime/menu.vim
|
|
Karsten Hopp |
e8ea8c |
|
|
Karsten Hopp |
e8ea8c |
|
|
Karsten Hopp |
e8ea8c |
*** ../vim-7.0.179/src/globals.h Sat Oct 14 14:33:21 2006
|
|
Karsten Hopp |
e8ea8c |
--- src/globals.h Tue Jan 9 14:26:51 2007
|
|
Karsten Hopp |
e8ea8c |
***************
|
|
Karsten Hopp |
e8ea8c |
*** 1092,1097 ****
|
|
Karsten Hopp |
e8ea8c |
--- 1092,1098 ----
|
|
Karsten Hopp |
e8ea8c |
extern char_u *all_lflags;
|
|
Karsten Hopp |
e8ea8c |
# ifdef VMS
|
|
Karsten Hopp |
e8ea8c |
extern char_u *compiler_version;
|
|
Karsten Hopp |
e8ea8c |
+ extern char_u *compiled_arch;
|
|
Karsten Hopp |
e8ea8c |
# endif
|
|
Karsten Hopp |
e8ea8c |
extern char_u *compiled_user;
|
|
Karsten Hopp |
e8ea8c |
extern char_u *compiled_sys;
|
|
Karsten Hopp |
e8ea8c |
*** ../vim-7.0.179/src/memline.c Tue Jan 9 14:37:10 2007
|
|
Karsten Hopp |
e8ea8c |
--- src/memline.c Tue Jan 9 14:33:44 2007
|
|
Karsten Hopp |
e8ea8c |
***************
|
|
Karsten Hopp |
e8ea8c |
*** 3572,3579 ****
|
|
Karsten Hopp |
e8ea8c |
#else
|
|
Karsten Hopp |
e8ea8c |
(buf->b_p_sn || buf->b_shortname),
|
|
Karsten Hopp |
e8ea8c |
#endif
|
|
Karsten Hopp |
e8ea8c |
! #ifdef RISCOS
|
|
Karsten Hopp |
e8ea8c |
! /* Avoid problems if fname has special chars, eg <Wimp$Scrap> */
|
|
Karsten Hopp |
e8ea8c |
ffname,
|
|
Karsten Hopp |
e8ea8c |
#else
|
|
Karsten Hopp |
e8ea8c |
# ifdef HAVE_READLINK
|
|
Karsten Hopp |
e8ea8c |
--- 3572,3580 ----
|
|
Karsten Hopp |
e8ea8c |
#else
|
|
Karsten Hopp |
e8ea8c |
(buf->b_p_sn || buf->b_shortname),
|
|
Karsten Hopp |
e8ea8c |
#endif
|
|
Karsten Hopp |
e8ea8c |
! #if defined(VMS) || defined(RISCOS)
|
|
Karsten Hopp |
e8ea8c |
! /* Avoid problems if fname has special chars, eg <Wimp$Scrap>.
|
|
Karsten Hopp |
e8ea8c |
! * For VMS always use full path for swapfile. */
|
|
Karsten Hopp |
e8ea8c |
ffname,
|
|
Karsten Hopp |
e8ea8c |
#else
|
|
Karsten Hopp |
e8ea8c |
# ifdef HAVE_READLINK
|
|
Karsten Hopp |
e8ea8c |
*** ../vim-7.0.179/src/os_unix.c Tue Nov 28 17:44:51 2006
|
|
Karsten Hopp |
e8ea8c |
--- src/os_unix.c Tue Jan 9 14:31:08 2007
|
|
Karsten Hopp |
e8ea8c |
***************
|
|
Karsten Hopp |
e8ea8c |
*** 2221,2227 ****
|
|
Karsten Hopp |
e8ea8c |
* behaviour should be avoided for the existing files and we need to find
|
|
Karsten Hopp |
e8ea8c |
* the exact path of the edited file.
|
|
Karsten Hopp |
e8ea8c |
*/
|
|
Karsten Hopp |
e8ea8c |
- if (force || !mch_isFullName(fname))
|
|
Karsten Hopp |
e8ea8c |
{
|
|
Karsten Hopp |
e8ea8c |
char_u *fixed_fname = vms_fixfilename(fname);
|
|
Karsten Hopp |
e8ea8c |
int fd = mch_open((char *)fixed_fname, O_RDONLY | O_EXTRA, 0);
|
|
Karsten Hopp |
e8ea8c |
--- 2221,2226 ----
|
|
Karsten Hopp |
e8ea8c |
*** ../vim-7.0.179/runtime/menu.vim Thu Sep 14 13:35:17 2006
|
|
Karsten Hopp |
e8ea8c |
--- runtime/menu.vim Tue Jan 9 14:31:40 2007
|
|
Karsten Hopp |
e8ea8c |
***************
|
|
Karsten Hopp |
e8ea8c |
*** 384,390 ****
|
|
Karsten Hopp |
e8ea8c |
" Programming menu
|
|
Karsten Hopp |
e8ea8c |
if !exists("g:ctags_command")
|
|
Karsten Hopp |
e8ea8c |
if has("vms")
|
|
Karsten Hopp |
e8ea8c |
! let g:ctags_command = "mc vim:ctags ."
|
|
Karsten Hopp |
e8ea8c |
else
|
|
Karsten Hopp |
e8ea8c |
let g:ctags_command = "ctags -R ."
|
|
Karsten Hopp |
e8ea8c |
endif
|
|
Karsten Hopp |
e8ea8c |
--- 384,390 ----
|
|
Karsten Hopp |
e8ea8c |
" Programming menu
|
|
Karsten Hopp |
e8ea8c |
if !exists("g:ctags_command")
|
|
Karsten Hopp |
e8ea8c |
if has("vms")
|
|
Karsten Hopp |
e8ea8c |
! let g:ctags_command = "mc vim:ctags *.*"
|
|
Karsten Hopp |
e8ea8c |
else
|
|
Karsten Hopp |
e8ea8c |
let g:ctags_command = "ctags -R ."
|
|
Karsten Hopp |
e8ea8c |
endif
|
|
Karsten Hopp |
e8ea8c |
*** ../vim-7.0.179/src/version.c Tue Jan 9 14:37:10 2007
|
|
Karsten Hopp |
e8ea8c |
--- src/version.c Tue Jan 9 15:00:57 2007
|
|
Karsten Hopp |
e8ea8c |
***************
|
|
Karsten Hopp |
e8ea8c |
*** 668,669 ****
|
|
Karsten Hopp |
e8ea8c |
--- 668,671 ----
|
|
Karsten Hopp |
e8ea8c |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
e8ea8c |
+ /**/
|
|
Karsten Hopp |
e8ea8c |
+ 180,
|
|
Karsten Hopp |
e8ea8c |
/**/
|
|
Karsten Hopp |
e8ea8c |
|
|
Karsten Hopp |
e8ea8c |
--
|
|
Karsten Hopp |
e8ea8c |
The Feynman problem solving Algorithm:
|
|
Karsten Hopp |
e8ea8c |
1) Write down the problem
|
|
Karsten Hopp |
e8ea8c |
2) Think real hard
|
|
Karsten Hopp |
e8ea8c |
3) Write down the answer
|
|
Karsten Hopp |
e8ea8c |
|
|
Karsten Hopp |
e8ea8c |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
e8ea8c |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
e8ea8c |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
e8ea8c |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|