[alikins@swoop alikins]$ echo 'sdfasdfasdf' > /tmp/test1 [alikins@swoop alikins]$ echo 'sdfasdfasdfasdfasdfasdf' > /tmp/test2 [alikins@swoop alikins]$ xdelta delta /tmp/test1 /tmp/test2 %XDZ004test1test2^[[?1;2c^[[?1;2cxdelta: lseek failed: Illegal seek Segmentation fault (core dumped) [alikins@swoop alikins]$ 1;2c1;2c Seems to do it on any files I try it on. Specifiying a file to send it to seems to work, but attempting to send it to stdout fails. ie xdelta delta /tmp/test1 /tmp/test2 diffile works but xdelta delta /tmp/test1 /tmp/test2 - or xdelta delta /tmp/test1 /tmp/test2 fail. According to the man page, this is supposed to send output to stdout.
Presumably, this was xdelat-2.0.0, so the fix is/was to revert to xdelta-1.1.1
[root@localhost /tmp]# xdelta delta srvsox.wav srvsox.wav %XDZ004% srvsox.wavsrvsox.wavxdelta: lseek failed: Illegal seek Segmentation fault (core dumped) [root@localhost /tmp]# xdelta delta -0 srvsox.wav srvsox.wav %XDZ004% srvsox.wavsrvsox.wav\owh>cvjb7(X C.n srvsox.wav\owh>cvjb7(X C.n.n4%XDZ004%[root@localhost /tmp]# [root@localhost /tmp]# rpm -q xdelta xdelta-1.1.1-7 xdelta segfaults if delta file is written to tty AND compression is used. Same with xdelta-1.1.1-10. The man page is outdated too. ( it misses some of the options ).
Changing product to RHL since we moved this component into the base distro and end of lifed the Powertools line.
xdetal 1.1.3 on RedHat 9 does not exhibit this issue.