public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: mark muto object as NO_COPY
@ 2018-03-12 21:13 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2018-03-12 21:13 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4d1a356f7b36905f5e2b616513b111ef042f1a43

commit 4d1a356f7b36905f5e2b616513b111ef042f1a43
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Mon Mar 12 22:13:20 2018 +0100

    Cygwin: mark muto object as NO_COPY
    
    muto in smallprint.cc is missing a NO_COPY.
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/smallprint.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/smallprint.cc b/winsup/cygwin/smallprint.cc
index 9a4a1c8..a7a1913 100644
--- a/winsup/cygwin/smallprint.cc
+++ b/winsup/cygwin/smallprint.cc
@@ -80,7 +80,7 @@ public:
 };
 
 WCHAR tmpbuf::buf[NT_MAX_PATH];
-muto tmpbuf::lock;
+NO_COPY muto tmpbuf::lock;
 
 static char __fastcall *
 __rn (char *dst, int base, int dosign, long long val, int len, int pad, unsigned long long mask)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-12 21:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12 21:13 [newlib-cygwin] Cygwin: mark muto object as NO_COPY Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).