Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

diff3 under windows does not work for files which contain brackets

0 views
Skip to first unread message

Alexander Sokolov

unread,
Dec 7, 2009, 1:50:04 PM12/7/09
to bug-gn...@gnu.org
Hello,

diff3.exe utility fails comparing files which names contain bracket,
like "1(test).txt"

Example:

files to be compared directory
=========================================================

Directory of C:\usr\1

07.12.2009 21:42 <DIR> .
07.12.2009 21:42 <DIR> ..
07.12.2009 21:06 26 1(s).txt
07.12.2009 21:05 19 2.txt
07.12.2009 21:05 27 3.txt
3 File(s) 72 bytes


diff utils bin directory
=========================================================

Directory of c:\usr\2\bin

07.12.2009 21:23 <DIR> .
07.12.2009 21:23 <DIR> ..
24.05.2004 15:46 57344 cmp.exe
24.05.2004 15:46 150528 diff.exe
24.05.2004 15:46 59392 diff3.exe
16.03.2004 23:37 898048 libiconv2.dll
24.02.2004 23:51 92672 libintl3.dll
24.05.2004 15:46 61952 sdiff.exe

=========================================================

C:\usr\1>c:\usr\2\bin\diff3.exe --version
diff3 (GNU diffutils) 2.8.7
Written by Randy Smith.

Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

=========================================================

C:\usr\1>c:\usr\2\bin\diff3.exe 2.txt 3.txt "1(s).txt"
c:\usr\2/bin/diff.exe: '1(s).txt': No such file or directory
c:\usr\2\bin\diff3.exe: subsidiary program `c:\usr\2/bin/diff.exe'
failed (exit
status 2)

=========================================================

Notes:
diff.exe works with such files.
Linux version works with such files.
Old 2.7 (from unxutils) diff3.exe works with such files.


Thanks,
Alexander


0 new messages