1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
10 Patch 7.3.075 (after 7.3.072)
11 Problem: Missing part of 'wildignorecase'
12 Solution: Also adjust expand()
16 *** ../vim-7.3.074/src/eval.c 2010-12-02 21:43:10.000000000 +0100
17 --- src/eval.c 2010-12-02 17:30:23.000000000 +0100
23 ! int flags = WILD_SILENT|WILD_USE_NL|WILD_LIST_NOTFOUND;
31 ! int options = WILD_SILENT|WILD_USE_NL|WILD_LIST_NOTFOUND;
37 * for 'wildignore' and don't put matches for 'suffixes' at the end. */
38 if (argvars[1].v_type != VAR_UNKNOWN
39 && get_tv_number_chk(&argvars[1], &error))
40 ! flags |= WILD_KEEP_ALL;
44 xpc.xp_context = EXPAND_FILES;
45 ! rettv->vval.v_string = ExpandOne(&xpc, s, NULL, flags, WILD_ALL);
48 rettv->vval.v_string = NULL;
50 * for 'wildignore' and don't put matches for 'suffixes' at the end. */
51 if (argvars[1].v_type != VAR_UNKNOWN
52 && get_tv_number_chk(&argvars[1], &error))
53 ! options |= WILD_KEEP_ALL;
57 xpc.xp_context = EXPAND_FILES;
59 ! options += WILD_ICASE;
60 ! rettv->vval.v_string = ExpandOne(&xpc, s, NULL, options, WILD_ALL);
63 rettv->vval.v_string = NULL;
69 ! int flags = WILD_SILENT|WILD_USE_NL;
77 ! int options = WILD_SILENT|WILD_USE_NL;
83 * for 'wildignore' and don't put matches for 'suffixes' at the end. */
84 if (argvars[1].v_type != VAR_UNKNOWN
85 && get_tv_number_chk(&argvars[1], &error))
86 ! flags |= WILD_KEEP_ALL;
87 rettv->v_type = VAR_STRING;
91 xpc.xp_context = EXPAND_FILES;
92 rettv->vval.v_string = ExpandOne(&xpc, get_tv_string(&argvars[0]),
93 ! NULL, flags, WILD_ALL);
96 rettv->vval.v_string = NULL;
98 * for 'wildignore' and don't put matches for 'suffixes' at the end. */
99 if (argvars[1].v_type != VAR_UNKNOWN
100 && get_tv_number_chk(&argvars[1], &error))
101 ! options |= WILD_KEEP_ALL;
102 rettv->v_type = VAR_STRING;
106 xpc.xp_context = EXPAND_FILES;
108 + options += WILD_ICASE;
109 rettv->vval.v_string = ExpandOne(&xpc, get_tv_string(&argvars[0]),
110 ! NULL, options, WILD_ALL);
113 rettv->vval.v_string = NULL;
114 *** ../vim-7.3.074/src/version.c 2010-12-02 21:43:10.000000000 +0100
115 --- src/version.c 2010-12-02 21:43:59.000000000 +0100
119 { /* Add new patch number below this line */
125 Engineers will go without food and hygiene for days to solve a problem.
126 (Other times just because they forgot.)
127 (Scott Adams - The Dilbert principle)
129 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
130 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
131 \\\ an exciting new programming language -- http://www.Zimbu.org ///
132 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///