ECToo / xdelta

Automatically exported from code.google.com/p/xdelta
0 stars 0 forks source link

xdelta3: file open failed: read: <filename>: T #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.using xdelta version xdelta3-3.0.2-x86-32.exe 

execute line in bat. (A Simple batch only)
========BAT File===============
@echo off
cls
Pause
xdelta3-3.0.2-x86-32.exe -e -s <OldFile> <ModifiedFiles> <XdeltaPatch>
pause
===============================

====== When I Run the Bat =========
Press any key to continue . . .
xdelta3: file open failed: read: <Filename>: T
Press any key to continue . . .
===================================

I Also have tried renaming it to xdelta3.exe xdelta.exe and xdelta30.exe 
problem still persist

When I Tried usin older version of xdelta i.e xdelta3.0t it's working fine.

Original issue reported on code.google.com by cs.player13 on 24 Jul 2012 at 3:25

GoogleCodeExporter commented 9 years ago
~Edit
the Error, a bit correction

==================================
Press any key to continue . . .
xdelta3: file open failed: read: <ModifiedFiles>: T
Press any key to continue . . .
==================================

Original comment by cs.player13 on 24 Jul 2012 at 3:28

GoogleCodeExporter commented 9 years ago
It also happens when applying patch directly through cmd:
==================================================
xdelta3 -d -s <OldFile> <XdeltaPatch> <TargetFile>
xdelta3: file open failed: read: <XdeltaPatch>: T
==================================================

Original comment by HYBRIDBE...@gmail.com on 4 Aug 2012 at 12:30

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Acknowledged problem.

Original comment by josh.mac...@gmail.com on 18 Aug 2012 at 5:34

GoogleCodeExporter commented 9 years ago
Issue 145 has been merged into this issue.

Original comment by josh.mac...@gmail.com on 18 Aug 2012 at 5:34

GoogleCodeExporter commented 9 years ago
The string "T" comes from the incorrect UNICODE build setting, the Windows API 
was using wide characters which xdelta3 does not support.  That fixed, the 
actual problem comes from incorrect buffer alignment, as required by the 
ReadFile API. I'm working on a fix (and will release a 64-bit build when 
everything is running).

Original comment by josh.mac...@gmail.com on 19 Aug 2012 at 4:49

GoogleCodeExporter commented 9 years ago
I've uploaded 3.0.4 built & tested on win7 x64.

http://code.google.com/p/xdelta/downloads/detail?name=xdelta3-3.0.4-x86-32.exe&c
an=2&q=#makechanges

Original comment by josh.mac...@gmail.com on 19 Aug 2012 at 7:17

GoogleCodeExporter commented 9 years ago

Original comment by josh.mac...@gmail.com on 19 Aug 2012 at 7:17