OSDN Git Service

* Makefile.in: Don't do anything special with any RCS directories.
authorcgf <cgf>
Sun, 12 Jul 2009 21:15:46 +0000 (21:15 +0000)
committercgf <cgf>
Sun, 12 Jul 2009 21:15:46 +0000 (21:15 +0000)
* ntdll.h (PROCESSINFOCLASS): Remove unneeded trailing comma.
* pinfo.cc (_pinfo::dup_proc_pipe): Remove unneeded assignment.
* sigproc.cc (sig_send): Don't send signal to myself if this is an exec stub.

winsup/cygwin/ChangeLog
winsup/cygwin/Makefile.in
winsup/cygwin/ntdll.h
winsup/cygwin/pinfo.cc
winsup/cygwin/sigproc.cc

index 06f421b..d4527e1 100644 (file)
@@ -1,3 +1,14 @@
+2009-07-12  Christopher Faylor  <me+cygwin@cgf.cx>
+
+       * Makefile.in: Don't do anything special with any RCS directories.
+
+       * ntdll.h (PROCESSINFOCLASS): Remove unneeded trailing comma.
+
+       * pinfo.cc (_pinfo::dup_proc_pipe): Remove unneeded assignment.
+       
+       * sigproc.cc (sig_send): Don't send signal to myself if this is an exec
+       stub.
+
 2009-07-12  Corinna Vinschen  <corinna@vinschen.de>
 
        * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Don't use
index 306166c..d219f5a 100644 (file)
@@ -496,3 +496,5 @@ deps:=${wildcard *.d}
 ifneq (,$(deps))
 include $(deps)
 endif
+
+%: RCS/%,v
index bf00628..35cf772 100644 (file)
@@ -471,7 +471,7 @@ typedef enum _PROCESSINFOCLASS
   ProcessVmCounters = 3,
   ProcessTimes = 4,
   ProcessSessionInformation = 24,
-  ProcessWow64Information = 26,
+  ProcessWow64Information = 26
 } PROCESSINFOCLASS;
 
 typedef struct _DEBUG_BUFFER
index 00e4db7..5ac29fc 100644 (file)
@@ -924,7 +924,6 @@ _pinfo::dup_proc_pipe (HANDLE hProcess)
       wr_proc_pipe_owner = dwProcessId;
       sigproc_printf ("duped wr_proc_pipe %p for pid %d(%u)", wr_proc_pipe,
                      pid, dwProcessId);
-      res = true;
     }
   return orig_wr_proc_pipe;
 }
index e21e09f..9110997 100644 (file)
@@ -555,7 +555,7 @@ sig_send (_pinfo *p, siginfo_t& si, _cygtls *tls)
 
   pack.wakeup = NULL;
   bool wait_for_completion;
-  if (!(its_me = (p == NULL || p == myself || p == myself_nowait)))
+  if (!(its_me = (!hExeced && (p == NULL || p == myself || p == myself_nowait))))
     {
       /* It is possible that the process is not yet ready to receive messages
        * or that it has exited.  Detect this.