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

9 views
Skip to first unread message

open-...@googlecode.com

unread,
Apr 14, 2015, 10:41:40 AM4/14/15
to open-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 45 by han...@gmail.com: The dictionary file cannot be an FIFO
https://code.google.com/p/open-vcdiff/issues/detail?id=45

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
sources.

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:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages