Am 02.05.2010 11:48, schrieb Stefan Seyfried:
It's a matter of bad programming style in library programming ;)
But the distribution should not decide about programming style. The problem I see is: Only library upstream can change the behaviour. It wouldn't be even sufficient to change all programs in the distribution that use that library to the new behaviour (probably returning an error instead of exiting the application). Users of the distribution could also use that library to develop own applications, without using RPM and without using build(1). And that users would be very confused if the library in openSUSE would behave completely different. That rpmlint warning is in my opinion only useful to the library authors itself and to packagers which are in contact with upstream. All others shouldn't touch exit() calls in the library. And, BTW, you can always register deinitialisation calls with atexit() that are also called when the library calls exit(). No, again, I don't consider it as good programming style to call exit() in libraries, but I'm also again that distribution should decide too many aspects of the contents of the packages they ship and create. Just my 0.02 €. Regards, Bernhard -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org