Issue 45 in open-vcdiff: The dictionary file cannot be an FIFO

Skip to first unread message

Apr 14, 2015, 10:41:40 AM4/14/15
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 45 by The dictionary file cannot be an FIFO

What steps will reproduce the problem?
1. Create a FIFO 'f' using `mkfifo t`
2. Run `vcdiff encode -dictionary t`
3. Run `echo "source data" > t` in a different terminal

What is the expected output? What do you see instead?

Vcdiff should work with a FIFO dictionary, but it says "Error finding size
of dictionary file 't': Illegal seek". Apparently the dictionary file is
handled as a random access file. Xdelta3, on the other hand, allows FIFO

What version of the product are you using? On what operating system?

open-vcdiff 0.8.3, Mac OS X/Homebrew.

Please provide any additional information below.

If the dictionary file is a FIFO (or in general a non-seekable source), the
vcdiff command-line tool has the option of loading the entire dictionary
file into its memory.

You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
Reply all
Reply to author
0 new messages