mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-05 05:14:13 +01:00
- removed calls to wsyserror() and wwarning() inside the WMHost and
WMConnection code. do call by yourself wsyserrorwithcode() passing WCErrorCode, whenever a call don't return the expected value, and WCErrorCode > 0. If WCErrorCode==0 that is not an system error, condition, so don't call wsyserrorwithcode() in that case. - added some assertions where appropriate
This commit is contained in:
@@ -67,6 +67,12 @@ changes since wmaker 0.62.1:
|
||||
close on exec flag set automatically to 'True' by the library. Unless
|
||||
you want to let the socket of some connection to survive across an exec*
|
||||
call, you need not to call this function.
|
||||
- removed all the wsyserror() and wwarning() calls from host.c and
|
||||
connection.c and replaced where appropriate with assertions. If a function
|
||||
returns some invalid result, you can still get the system error message if
|
||||
you need, by calling wsyserrorwithcode() and passing WCErrorCode, if
|
||||
WCErrorCode > 0. If WCErrorCode==0, that is not a system error, and
|
||||
wsyserrorwithcode() should not be called in this case.
|
||||
|
||||
|
||||
changes since wmaker 0.62.0:
|
||||
|
||||
Reference in New Issue
Block a user