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

Inconsistent signal numbers #2620

Closed
vicuna opened this issue Nov 23, 2000 · 1 comment
Closed

Inconsistent signal numbers #2620

vicuna opened this issue Nov 23, 2000 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Nov 23, 2000

Original bug ID: 227
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Gerd Stolpmann
Version: 3.00
OS: Linux
Submission from: drms-3e364b7e.pool.mediaways.net (62.54.75.126)

Another bug in Sys.signal:

    Objective Caml version 3.00

Sys.sigint;;

  • : int = -6

Sys.signal Sys.sigint (Sys.Signal_handle (fun n -> print_int n; flush

stdout));;

  • : Sys.signal_behavior = Sys.Signal_handle

[Pressing CTRL-C]

2

I.e. the numbers passed to the handler functions are inconsistent with the
numbers defined in Sys; they are not converted back from POSIX conventions
to O'Caml conventions.

Gerd

@vicuna
Copy link
Author

vicuna commented Nov 27, 2000

Comment author: administrator

Fixed on 2000-11-27 by Xavier.

@vicuna vicuna closed this as completed Nov 27, 2000
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant