diff options
author | Christopher Faylor <me@cgf.cx> | 2006-03-20 05:01:50 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-03-20 05:01:50 +0300 |
commit | 4aedb2879609cd1c83b605d9470efdec9eedadd0 (patch) | |
tree | 8c5652e2f479dc2358d3f02ba85abb1759251e4e /winsup/cygwin/sigproc.cc | |
parent | c5c3d69d8a5a3958515c3ee93024261bf8d9dd3d (diff) |
revert previous debugging checkin
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 55fbb636d..a82e90002 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -679,14 +679,10 @@ sig_send (_pinfo *p, siginfo_t& si, _cygtls *tls) else { size_t n = strlen (si._si_commune._si_str); - char *p = leader = (char *) alloca (sizeof (pack) + sizeof (n) + n /*DELETEME*/ + 1); - memcpy (p, &pack, sizeof (pack)); - p += sizeof (pack); - memcpy (p, &n, sizeof (n)); - p += sizeof (n); - memcpy (p, si._si_commune._si_str, n); -p[n] = '\0'; sigproc_printf ("n %d, si_str %s", n, p); - p += n; + char *p = leader = (char *) alloca (sizeof (pack) + sizeof (n) + n); + memcpy (p, &pack, sizeof (pack)); p += sizeof (pack); + memcpy (p, &n, sizeof (n)); p += sizeof (n); + memcpy (p, si._si_commune._si_str, n); p += n; packsize = p - leader; } |