https://bugs.kde.org/show_bug.cgi?id=403089

--- Comment #1 from michael <reeves...@gmail.com> ---
The regressions are fixed in master. However the handling of the temp files
used for network comparisons is still wrong. This was true for the original
code as well. I will close this when the tempfiles are handled correctly.

On Fri, Jan 11, 2019, 1:14 AM Vasiliy Glazov <bugzilla_nore...@kde.org
wrote:

> https://bugs.kde.org/show_bug.cgi?id=403089
>
>             Bug ID: 403089
>            Summary: kdiff3 fails comparing directories
>            Product: kdiff3
>            Version: unspecified
>           Platform: Fedora RPMs
>                 OS: Linux
>             Status: REPORTED
>           Severity: normal
>           Priority: NOR
>          Component: application
>           Assignee: reeves...@gmail.com
>           Reporter: vasc...@gmail.com
>   Target Milestone: ---
>
> SUMMARY
> When comparing directories, the tree show all files are always different.
> When
> double-click a file instead it recognizes than the files are 'binary equal'
>
> I have traced an execution with 'strace kdiff3 dir1 dir2':
>
> ...
> statx(AT_FDCWD, "/tmp/dir1/file",
> AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW,
> STATX_ALL, {stx_mask=STATX_BASIC_STATS, stx_attributes=0,
> stx_mode=S_IFREG|0644, stx_size=5, ...}) = 0
> ...
> statx(AT_FDCWD, "/tmp/dir2/file",
> AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW,
> STATX_ALL, {stx_mask=STATX_BASIC_STATS, stx_attributes=0,
> stx_mode=S_IFREG|0644, stx_size=5, ...}) = 0
> ...
> openat(AT_FDCWD, "file", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or
> directory)
> ...
>
> When program is getting both directory trees it access files using full
> path.
> But when it try to read the file it forget to add the path to the file
> name,
> neither do a previous 'chdir()'
>
>
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma: Fedora 29
> (available in About System)
> KDE Plasma Version: 5.14.4
> KDE Frameworks Version: 5.53.0
> Qt Version: 5.11.3
>
> ADDITIONAL INFORMATION
> Compiled last version from git repository at '
> https://github.com/KDE/kdiff3'
> has not only this bug but also there is a new bug. When try to compare
> only two
> directories it fails because it requires the third directory 'C' that
> should be
> optional.
>
> Original bugreport https://bugzilla.redhat.com/show_bug.cgi?id=1664996
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to