Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000227OCaml~DO NOT USE (was: OCaml general)public2000-11-23 15:282000-11-27 17:11
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000227: Inconsistent signal numbers
DescriptionFull_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 <fun>
# [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

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000472)
administrator (administrator)
2000-11-27 17:11

Fixed on 2000-11-27 by Xavier.

- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker