Close files before calling FileIo::size() (which uses stat). This is necessary on Win32 it seems. Fixes bug #428. Changed default mode of FileIo::open to "rb" and added FileIo::switchMode. Fixes bug #429. Added a hack to make test output of exiv2-test.sh more readable on MinGW.
This commit is contained in:
@@ -93,6 +93,12 @@ diff iii kkk
|
||||
|
||||
) > $results 2>&1
|
||||
|
||||
if [ `../config/config.guess` = "i686-pc-mingw32" ] ; then
|
||||
sed 's,\\,/,g' $results > ${results}-new
|
||||
mv -f ${results}-new $results
|
||||
unix2dos -q $results
|
||||
fi
|
||||
|
||||
diff -q -w $diffargs $results $good
|
||||
rc=$?
|
||||
if [ $rc -eq 0 ] ; then
|
||||
|
||||
Reference in New Issue
Block a user