summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc_sock.c
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2012-04-03 11:22:15 +0300
committerAndreas Schneider <asn@samba.org>2012-04-12 12:06:43 +0200
commitdda0531aae70e78e815fda8c594213369e76a847 (patch)
tree00922abc42fe8446c3cefe3e9fa1fda20fbd0e74 /source4/librpc/rpc/dcerpc_sock.c
parent1f1e4275b5fafbad1b5719f5efba7ee66f6d3037 (diff)
downloadsamba-dda0531aae70e78e815fda8c594213369e76a847.tar.gz
samba-dda0531aae70e78e815fda8c594213369e76a847.tar.bz2
samba-dda0531aae70e78e815fda8c594213369e76a847.zip
WAF: Add support for stopping processing before end of wscript{_*}
WAF scripts are written in Python and Python has no simple way to stop program execution other than using exceptions. This change adds WscriptCheckSkipped exception and its handling in core WAF code. When any of wscript{_*} throws WscriptCheckSkipped exception, WAF simply continues to process next wscript in queue rather than breaking build. WscriptCheckSkipped exception can be used to perform early bail out of configuration/build target checks if certain dependency is not available when the default checks are way more numerous than a check for this particular dependency. This is to avoid 'if ...' indenting for large blocks of existing code which also muddens git history for nothing. Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/librpc/rpc/dcerpc_sock.c')
0 files changed, 0 insertions, 0 deletions