[Gambas-user] Issue 604 in gambas: a shared library shouldn't call exit or _exit

gambas at ...2524... gambas at ...2524...
Mon Feb 16 11:22:35 CET 2015


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 604 by costamag... at ...626...: a shared library shouldn't call  
exit or _exit
https://code.google.com/p/gambas/issues/detail?id=604

Some examples of shared libraries that calls exit or _exit functions:

N: Processing binary package gambas3-gb-desktop-x11 (version 3.6.2-1, arch  
amd64) ...

X: gambas3-gb-desktop-x11: shlib-calls-exit  
usr/lib/gambas3/gb.desktop.x11.so.0.0.0
X: gambas3-gb-sdl: shlib-calls-exit usr/lib/gambas3/gb.sdl.so.0.0.0
X: gambas3-runtime: shlib-calls-exit usr/lib/gambas3/gb.debug.so.0.0.0
X: gambas3-runtime: shlib-calls-exit usr/lib/gambas3/gb.eval.so.0.0.0
N:
N:    The listed shared library calls the C library exit() or _exit()
N:    functions.
N:
N:    In the case of an error, the library should instead return an
N:    appropriate error code to the calling program which can then determine
N:    how to handle the error, including performing any required clean-up.
N:
N:    In most cases, removing the call should be discussed with upstream,
N:    particularly as it may produce an ABI change.
N:
N:    Severity: wishlist, Certainty: possible
N:
N:    Check: shared-libs, Type: binary, udeb
N:
N:    This tag is marked experimental, which means that the code that
N:    generates it is not as well-tested as the rest of Lintian and might
N:    still give surprising results. Feel free to ignore experimental tags
N:    that do not seem to make sense, though of course bug reports are  
always
N:    welcome.
N:


there is also a typo in the source code:
grep writting . -R
./gb.v4l/src/CWebcam.c:		GB.Error("Unable to open file for writting");
./gb.v4l/src/CWebcam.c:		GB.Error("Unable to open file for writting");


thanks!

Gianfranco

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings




More information about the User mailing list