Thread
:
Plato: A document reader for PDF, ePUB, DjVu, etc.
View Single Post
12-14-2018, 03:26 PM
#
314
baskerville
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
Quote:
Originally Posted by
NiLuJe
I was under the impression
only the ioctl return value was effectively checked
, since rotation() only pulls the "cached" rotate value, it doesn't do a new GET.
The ioctl call mutates
self.var_info
.
I've attached a test binary that takes a different approach: if writing
n
fails, then I write
(n+1)%4
and finally
n
.
Attached Files
plato-0.6.1-test.zip
(1.49 MB, 128 views)
baskerville
View Public Profile
Find More Posts by baskerville
Track Posts by baskerville via RSS