Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-09-08 07:12:13 +0400
committerChristopher Faylor <me@cgf.cx>2000-09-08 07:12:13 +0400
commit3b0d65eab953cb982db4015125d45e6b2ae32857 (patch)
tree0ff3cdf06c2e132690a7d7946617017342347a60 /winsup/cygwin/sigproc.h
parentf0338f545d769143f542338b4d61f771b5a87f93 (diff)
* sigproc.h (sigframe::set): Eliminate second argument. Default bp to current
frame pointer rather than using this within the function, which is unstable when this method is not inlined. * net.cc: Eliminate use of second argument to sigframe.set throughout. * select.cc (cygwin_select): Ditto. * sigproc.cc (sig_send): Ditto.
Diffstat (limited to 'winsup/cygwin/sigproc.h')
-rw-r--r--winsup/cygwin/sigproc.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h
index c8634022a..915e54ad7 100644
--- a/winsup/cygwin/sigproc.h
+++ b/winsup/cygwin/sigproc.h
@@ -49,15 +49,11 @@ private:
sigthread *st;
public:
- void set (sigthread &t, int up = 1, DWORD ebp = 0)
+ void set (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0))
{
t.lock->acquire ();
st = &t;
- if (ebp)
- t.frame = ebp;
- else
- t.frame = (DWORD) (up ? __builtin_frame_address (1) :
- __builtin_frame_address (0));
+ t.frame = ebp;
t.lock->release ();
}