Menu

diff3 not working

Help
2003-07-11
2012-07-26
  • Nobody/Anonymous

    Hi,
    When I run diff3, it gives the following message :-
    diff: 'c:\cvsdirectory\scmApril10\registry\udl_id.h': Invalid argument
    diff: 'c:\3220\registry\udl_id.h': Invalid argument
    diff3: subsidiary program `diff' failed

    I am using these tools on Windows XP. I think the problem might be something related to backward/forward slash. I am usign the native windows version of these tools but when I use these tools in an old cygwin install(which I CAN'T upgrade) I have to use forward slashes with diff otherwise diff doesn't work so I thought might be the same problem when I use it in command prompt. Any help would be appreciated.
    thanks
    Dhiraj

     
    • GnuWin

      GnuWin - 2003-07-11

      This appears to be a bug in the port of diffutils. I'll try to fix it.

       
      • GnuWin

        GnuWin - 2003-07-27

        A new release, which fixes this problem, is available from http://gnuwin32.sourceforge.net/

         
    • Will Ganz

      Will Ganz - 2004-02-07

      It fails when all 3 files are in the same directory also:

      G:\>diff3 example_3-1a.awk example_3-1b.awk example_3-1c.awk
      diff3: fstat: Invalid argument

      G:\>diff.exe: write error
      ^X                        << I pressed Ctrl-X to terminate
      '&#8593;' is not recognized as an internal or external command, operable program or batch file.

      G:\>diff3 --version
      diff3 (GNU diffutils) 2.8.1

       
      • GnuWin

        GnuWin - 2004-02-09

        The latest version of diff3 (2.8.1.1303, 27-7-2003) works for me on WinXP. What are the date of the executables and the extended version (right-click on the exe file, and choose Properties)?

         
    • Will Ganz

      Will Ganz - 2004-02-14

      Date of executable 7/27/2003  11:46AM
      version 2.8.1.1303
      Private Build Description Patchlevel 2
      md5sum 52fdbf8d2b91e07d3d34d18c10568cab

      tried it at work on my WinXP box there & it failed also.

       
      • GnuWin

        GnuWin - 2004-02-14

        I cannot reproduce it on WinXP Pro, not even if I follow exactly the steps given in your email with screenshots. I also have the same files, including the dependencies, with the same dates, versions, and sizes.
        I'll do a thorough search, but this may (will) take some time.

         
MongoDB Logo MongoDB