[PATCH] Fixes divelogs.de upload error #483
Thiago Macieira
thiago at macieira.org
Sat Apr 5 08:24:29 PDT 2014
Em sáb 05 abr 2014, às 12:20:25, Lubomir I. Ivanov escreveu:
> the argument swap is my fault which originates back to the GTK version.
> was not caught because we didn't use streamsize and only checked if
> fread() succeeds.
And I've never cared about the order. If you're trying to read N elements of
size S, you're reading N*S bytes.
And we all know "the order of the factors does not alter the product", so S*N
is also valid.
So how does this fix anything? What am I missing?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
More information about the subsurface
mailing list