From 03a2ce9a3623dddc5ff7db9a3c18e2eb359e4afe Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 19 Jun 2002 15:27:27 +0000 Subject: Use hMainProc where appropriate, throughout. * environ.cc (spenv::retrieve): Add debugging statements. * pinfo.cc (set_myself): Don't call strace.hello if already stracing. * strace.cc (strace): Move NO_COPY keyword so that it will actually take effect. --- winsup/cygwin/strace.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/strace.cc') diff --git a/winsup/cygwin/strace.cc b/winsup/cygwin/strace.cc index 5a4549161..d700c780a 100644 --- a/winsup/cygwin/strace.cc +++ b/winsup/cygwin/strace.cc @@ -22,7 +22,7 @@ details. */ #define PROTECT(x) x[sizeof(x)-1] = 0 #define CHECK(x) if (x[sizeof(x)-1] != 0) { small_printf("array bound exceeded %d\n", __LINE__); ExitProcess(1); } -class NO_COPY strace strace; +class strace NO_COPY strace; #ifndef NOSTRACE -- cgit v1.2.3