From 9f140581e08b255697a4d824ac57559a04c416e0 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 6 Feb 2011 20:37:35 +0100 Subject: misc updates Signed-off-by: Florian Pritz --- vim/vim-7.2/7.2.178 | 150 ---------------------------------------------------- 1 file changed, 150 deletions(-) delete mode 100644 vim/vim-7.2/7.2.178 (limited to 'vim/vim-7.2/7.2.178') diff --git a/vim/vim-7.2/7.2.178 b/vim/vim-7.2/7.2.178 deleted file mode 100644 index 84fe670..0000000 --- a/vim/vim-7.2/7.2.178 +++ /dev/null @@ -1,150 +0,0 @@ -To: vim-dev@vim.org -Subject: Patch 7.2.178 -Fcc: outbox -From: Bram Moolenaar -Mime-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit ------------- - -Patch 7.2.178 -Problem: Using negative value for device number might not work. -Solution: Use a separate flag for whether ffv_dev was set. -Files: src/misc2.c - - -*** ../vim-7.2.177/src/misc2.c 2009-04-29 11:00:09.000000000 +0200 ---- src/misc2.c 2009-05-16 21:05:10.000000000 +0200 -*************** -*** 2841,2847 **** - get_key_name(i) - int i; - { -! if (i >= KEY_NAMES_TABLE_LEN) - return NULL; - return key_names_table[i].name; - } ---- 2841,2847 ---- - get_key_name(i) - int i; - { -! if (i >= (int)KEY_NAMES_TABLE_LEN) - return NULL; - return key_names_table[i].name; - } -*************** -*** 3869,3875 **** - * use filename. - */ - #ifdef UNIX -! int ffv_dev; /* device number (-1 if not set) */ - ino_t ffv_ino; /* inode number */ - #endif - /* The memory for this struct is allocated according to the length of ---- 3869,3876 ---- - * use filename. - */ - #ifdef UNIX -! int ffv_dev_valid; /* ffv_dev and ffv_ino were set */ -! dev_t ffv_dev; /* device number */ - ino_t ffv_ino; /* inode number */ - #endif - /* The memory for this struct is allocated according to the length of -*************** -*** 4059,4071 **** - * This function silently ignores a few errors, vim_findfile() will have - * limited functionality then. - */ -- /*ARGSUSED*/ - void * - vim_findfile_init(path, filename, stopdirs, level, free_visited, find_what, - search_ctx_arg, tagfile, rel_fname) - char_u *path; - char_u *filename; -! char_u *stopdirs; - int level; - int free_visited; - int find_what; ---- 4060,4071 ---- - * This function silently ignores a few errors, vim_findfile() will have - * limited functionality then. - */ - void * - vim_findfile_init(path, filename, stopdirs, level, free_visited, find_what, - search_ctx_arg, tagfile, rel_fname) - char_u *path; - char_u *filename; -! char_u *stopdirs UNUSED; - int level; - int free_visited; - int find_what; -*************** -*** 5063,5072 **** - { - if ( - #ifdef UNIX -! !url -! ? (vp->ffv_dev == st.st_dev -! && vp->ffv_ino == st.st_ino) -! : - #endif - fnamecmp(vp->ffv_fname, ff_expand_buffer) == 0 - ) ---- 5063,5071 ---- - { - if ( - #ifdef UNIX -! !url ? (vp->ffv_dev_valid && vp->ffv_dev == st.st_dev -! && vp->ffv_ino == st.st_ino) -! : - #endif - fnamecmp(vp->ffv_fname, ff_expand_buffer) == 0 - ) -*************** -*** 5091,5104 **** - #ifdef UNIX - if (!url) - { - vp->ffv_ino = st.st_ino; - vp->ffv_dev = st.st_dev; - vp->ffv_fname[0] = NUL; - } - else - { -! vp->ffv_ino = 0; -! vp->ffv_dev = -1; - #endif - STRCPY(vp->ffv_fname, ff_expand_buffer); - #ifdef UNIX ---- 5090,5103 ---- - #ifdef UNIX - if (!url) - { -+ vp->ffv_dev_valid = TRUE; - vp->ffv_ino = st.st_ino; - vp->ffv_dev = st.st_dev; - vp->ffv_fname[0] = NUL; - } - else - { -! vp->ffv_dev_valid = FALSE; - #endif - STRCPY(vp->ffv_fname, ff_expand_buffer); - #ifdef UNIX -*** ../vim-7.2.177/src/version.c 2009-05-16 17:29:37.000000000 +0200 ---- src/version.c 2009-05-16 21:00:15.000000000 +0200 -*************** -*** 678,679 **** ---- 678,681 ---- - { /* Add new patch number below this line */ -+ /**/ -+ 178, - /**/ - --- -FATAL ERROR! SYSTEM HALTED! - Press any key to continue doing nothing. - - /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ -/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ -\\\ download, build and distribute -- http://www.A-A-P.org /// - \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- cgit v1.2.3-24-g4f1b