hashdeep
hashdeep copied to clipboard
DFXML can't be written to file
The Hashdeep DFXML output mode, -d, always writes the output data to stdout. This means the program ignores the -W mode to write the output to a file.
The problem is that in main.cpp, the call to ocb.xml_open(stdout) always gets called with stdout. This call needs to use the file handle opened by the call to ocb.set_outfilename. This may be difficult, as the file handle may not yet be open the -d flag is processed.
I'm on it.
Sent from my iPad
On Apr 20, 2013, at 3:25 AM, Jesse Kornblum [email protected] wrote:
The Hashdeep DFXML output mode, -d, always writes the output data to stdout. This means the program ignores the -W mode to write the output to a file.
The problem is that in main.cpp, the call to ocb.xml_open(stdout) always gets called with stdout. This call needs to use the file handle opened by the call to ocb.set_outfilename. This may be difficult, as the file handle may not yet be open the -d flag is processed.
— Reply to this email directly or view it on GitHub.
any update on this?
I guess not.