This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] Cygwin: mark muto object as NO_COPY


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]