Re: Please unpush FEDORA-2016-7776983633 on all releases or drop support for libjasper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/18/2016 04:01 AM, Kevin Kofler wrote:
Michael Catanzaro wrote:
On Wed, 2016-09-14 at 20:50 +0100, Richard Hughes wrote:
-jas_stream_t *jas_stream_memopen(char *buf, int bufsize);
+jas_stream_t *jas_stream_memopen(char *buf, size_t bufsize);

I should add: it probably needs to use ssize_t (signed size_t) here.
But this function is part of the API, so every dependent app will need
to be rebuilt and packaged into the same bodhi update.

Actually, int → ssize_t is an ABI change only on 64-bit architectures. On
32-bit architectures, the size is not going to change. But, as our main
architecture is x86_64, this sounds like a recipe for crashes indeed.

It can change C++ name mangling even on 32-bit architectures because some use long for ssize_t.

Florian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux