Bug 421048 - Input from /dev/null rejected
Summary: Input from /dev/null rejected
Status: RESOLVED FIXED
Alias: None
Product: kdiff3
Classification: Applications
Component: application (show other bugs)
Version: 1.8.x
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: michael
URL:
Keywords:
: 419950 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-05-05 08:44 UTC by Thomas Koeller
Modified: 2020-06-25 03:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.8.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Koeller 2020-05-05 08:44:58 UTC
I am using Kdiff3 as a merge tool with git. A while ago (don't remember exactly when), kdiff3 used to accept /dev/null as an input file, but that is no longer the case - I get an error saying '/dev/null is not a normal file'. This greatly limits the usefulness of kdiff3 in this context, as git passes /dev/null as one of the inputs for newly created or deleted files. If this happens I have to click away three dialog windows before I can continue. This is really annoying.
Comment 1 michael 2020-05-10 22:22:00 UTC
Git commit ff89da4849ef64f7adcd99ae71b615f177d5534f by Michael Reeves.
Committed on 10/05/2020 at 22:19.
Pushed by mreeves into branch '1.8'.

Fix compatibilty with git

Treat /dev/null as non-existant.
FIXED-IN:1.8.3

M  +2    -2    src/fileaccess.cpp

https://invent.kde.org/kde/kdiff3/commit/ff89da4849ef64f7adcd99ae71b615f177d5534f
Comment 2 michael 2020-05-10 22:22:01 UTC
Git commit e68e44616f21600a21c1f1aadd181213071a5ea7 by Michael Reeves.
Committed on 10/05/2020 at 20:24.
Pushed by mreeves into branch 'master'.

Fix compatibilty with git

Treat /dev/null as non-existant.
FIXED-IN:1.8.3

M  +2    -2    src/fileaccess.cpp

https://invent.kde.org/kde/kdiff3/commit/e68e44616f21600a21c1f1aadd181213071a5ea7
Comment 3 michael 2020-06-25 03:13:10 UTC
*** Bug 419950 has been marked as a duplicate of this bug. ***