Hi Bram, 2013/06/20 Thu 4:17:48 UTC+9 Bram Moolenaar wrote:
> > The difference of 'fileformat' seems to cause the result. > > This can be fixed by applying additional-fix-test17.patch, > > but I don't think this is the right solution. > > Is this behavior intended? > > I'm not sure. It may also depend on what "diff" command you use. > Some ignore differences in line endings, some don't. No, it doesn't depend on the "diff" command. I have attached the result. (see: test17.failed) When the fileformat of Xdir1/dir2/*.c and Xbase.c is set to dos, I get the same result even on Unix. (see: test17-set-ffdos-on-unix.diff) Needs more investigation... Thanks, Ken Takata -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
test17.failed
Description: Binary data
# HG changeset patch # Parent 1ca947f6254f0f5ec60b421089ee1d9b47ce4fe4 diff --git a/src/testdir/test17.in b/src/testdir/test17.in --- a/src/testdir/test17.in +++ b/src/testdir/test17.in @@ -111,19 +111,24 @@ :endfunction :let &includeexpr='StripNewlineChar()' :e! Xdir1/dir2/foo.c +:set ff=dos i%inc bar.c :w :e Xdir1/dir2/bar.c +:set ff=dos i%inc baz.c :w :e Xdir1/dir2/baz.c +:set ff=dos i%inc foo.c :w :e Xdir1/dir2/FALSE.c +:set ff=dos i%inc foo.c :w :e Xbase.c :set path=Xdir1/dir2 +:set ff=dos i%inc FALSE.c foo.c :w :redir! >>test.out
