Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re: [PATCH 5.6.0] local $SIG{FOO} restoration #1652

Closed
p5pRT opened this issue Mar 30, 2000 · 2 comments
Closed

Re: [PATCH 5.6.0] local $SIG{FOO} restoration #1652

p5pRT opened this issue Mar 30, 2000 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Mar 30, 2000

Migrated from rt.perl.org#2892 (status was 'resolved')

Searchable as RT2892$

@p5pRT
Copy link
Author

p5pRT commented Mar 30, 2000

From tchrist@chthon.perl.com

i suppose the handler should not be restored if it was Perl's, something
along the lines of (on top of take2 patch)​:

Exactly! this kind of thing is common in programs that do sigmasks
or tty mode masks. The typical mistake is

  set noecho
  do something
  unset noecho

or

  block sigfoo
  do something
  unblock sigfoo

In both cases the bug is the same​: you shouldn't undo something that
was already undone to start with.

--tom

@p5pRT
Copy link
Author

p5pRT commented Nov 28, 2003

From The RT System itself

does not describe a bug in perl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant