Revert "notes on out of order errors"

This reverts commit 67101e48be.
This commit is contained in:
John Cupitt 2017-02-27 10:22:36 +00:00
parent 67101e48be
commit 90d9145d3c
2 changed files with 3 additions and 18 deletions

15
TODO
View File

@ -1,18 +1,3 @@
- try
vips replicate images/йцук.jpg huge.png 30 5
vipsthumbnail huge.png -s 135
vips resize huge.png x.png 0.0044
out of order read error >50% of the time
but
vips resize huge.png x.png 0.001
vips resize huge.png x.png 0.0001
both work fine
- vips linecache has access there twice! - vips linecache has access there twice!
$ vips linecache $ vips linecache

View File

@ -35,11 +35,11 @@ if ! $vipsheader $tmp/x.png > /dev/null 2>&1 ; then
fi fi
echo "ok" echo "ok"
printf "testing resize does not make temps ... " printf "testing shrink does not make temps ... "
rm -f $tmp/x.png rm -f $tmp/x.png
$vips resize $huge $tmp/x.png 0.0044 $vips shrink $huge $tmp/x.png 230 230
if ! $vipsheader $tmp/x.png > /dev/null 2>&1 ; then if ! $vipsheader $tmp/x.png > /dev/null 2>&1 ; then
echo "resize made a temp" echo "shrink made a temp"
exit 1 exit 1
fi fi
echo "ok" echo "ok"