2014-04-28 00:02 keltezéssel, Andrew Price írta:
On 24/04/14 15:13, Lennart Poettering wrote:
We probably should make setjmp()-freeness a requirement for
all code included in Fedora.
Would it be worth the effort, and how feasible is it anyway?
- Do we have any usage statistics?
- How often do we see bugs caused by bad uses of setjmp/longjmp?
- Is mitigation instead of blanket removal possible?
- How likely is it that /all/ setjmp/longjmp uses can be reasonably replaced?
- Is there existing upstream momentum to move away from setjmp/longjmp?
(I'm not against the idea but I think it deserves further discussion.)
Andy
Just one datapoint: have fun rewriting PostgreSQL's error handling
while still keeping it portable and acceptable upstream. Not to mention
Cerberus (a.k.a. Tom Lane) who guards that entrance, reads this list and
IIRC is a Red Hat employee at the moment. :-)
Best regards,
Zoltán Böszörményi
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct