Menu

#208 xxdiff does not work with bash "process substitution"

open
nobody
None
5
2009-09-23
2009-09-23
No

$ xxdiff <( ls -l ) <( ls -la )
Throwing exception:
xxdiff (builderFiles2.cpp:527):

Internal error.

There has been an internal error within xxdiff.
To report bugs, please use the sourceforge bug tracker
at http://sourceforge.net/tracker/?group_id=2198
and log the above information above and if possible,
the files that caused the error, and as much detail as
you can to reproduce the error.

I'm using xxdiff-3.2-1 on opensuse 11.1 x86_64 with bash 3.2.39.

the main problem is that xxdiff itself read all the data from $1 and $2
which results in no more input data being available for the external

diff /dev/fd/63 /dev/fd/62

which gets executed by xxdiff....

if input is not a regular file, xxdiff should write() the captured data to the diff process itself...

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.