From f45c299dbe093359db1f9bf4e06daa5129a17f16 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 5 Apr 2005 04:48:02 +0000 Subject: * sync.h (muto::initforce): Force initialization even when name != NULL. * grp.cc (pwdgrp::pwdgrp): Use initforce since the enclosing structure is !NO_COPY. --- winsup/cygwin/sync.h | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/sync.h') diff --git a/winsup/cygwin/sync.h b/winsup/cygwin/sync.h index 441892a08..13fa33caf 100644 --- a/winsup/cygwin/sync.h +++ b/winsup/cygwin/sync.h @@ -28,6 +28,7 @@ public: void *tls; /* Tls of lock owner. */ // class muto *next; + muto *initforce (const char *s) {name = NULL; return init (s);} /* The real constructor. */ muto *init (const char *) __attribute__ ((regparm (2))); -- cgit v1.2.3