commit | 893987b871f6cb16a57a611631fc6b39dbb2aa30 | [log] [tgz] |
---|---|---|
author | Vitaliy Margolen <wine-patch@kievinfo.com> | Mon Nov 21 16:27:03 2005 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon Nov 21 16:27:03 2005 +0000 |
tree | df7f676f5ae1402c7212143053ef3c89dca630ab | |
parent | 2d41fcd864188c5b7478123dfdf0164bbdd9e24b [diff] [blame] |
Return correct error on name collision when creating new named objects. Check for correct error in affected places.
diff --git a/server/mutex.c b/server/mutex.c index 3d887fb..09186ca 100644 --- a/server/mutex.c +++ b/server/mutex.c
@@ -68,7 +68,7 @@ if ((mutex = create_named_object( sync_namespace, &mutex_ops, name, attr ))) { - if (get_error() != STATUS_OBJECT_NAME_COLLISION) + if (get_error() != STATUS_OBJECT_NAME_EXISTS) { /* initialize it if it didn't already exist */ mutex->count = 0;