util: Disable popups while asserting in windows.
authorGurucharan Shetty <gshetty@nicira.com>
Mon, 12 May 2014 21:49:58 +0000 (14:49 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 14 May 2014 21:47:13 +0000 (14:47 -0700)
commit144ccc021ec9d43cb92625b6ee4714779c626ccf
tree943de026ce05c21715ab66b6dbb63b3217a0c9bd
parent7882cfb1e3795dde70c18eaee754506cbcb38a5d
util: Disable popups while asserting in windows.

The default behavior for programs is to display a popup
after an assert/abort etc. This is not an ideal behavior because
this needs user intervention.

set_program_name, though not an ideal place to disable this, is
a useful place because it is called by all programs including
unit test binaries.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/util.c