Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. IssueW45.2026 · 2–8 Novocaml/ocaml

    Request for Feedback on porting automatic compaction from OxCaml to upstream

    nicki (@curche)
  2. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    Restore Ctrl-Break handling on Windows

    On Windows, OCaml 5 programs are killed by Ctrl-Break even when they have installed a Sys.sigint handler or called Sys.catch_break true. OCaml 4.14 handled this correctly.

    Mark Elvers (@mtelvers)
  3. IssueW45.2026 · 2–8 Novocaml/ocaml

    Runtime_events.read_poll exceeds the event limit

    On OCaml 5.5.0 and trunk f0c1023333 (macOS arm64), Runtime_events.read_poll consumes more events than the supplied limit. Found with the assistance of an LLM.

    KC Sivaramakrishnan (@kayceesrk)
  4. IssueW45.2026 · 2–8 Novocaml/ocaml

    Scanf ignores string field width after an escape

    Scanf.sscanf can read past the field width of %S after a numeric escape. Found with DeepSeek v4.1 Flash 1017. Reproduced on 5.5.0 and trunk f0c1023333, macOS arm64:

    KC Sivaramakrishnan (@kayceesrk)
  5. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    Scanf: respect field width of %S when scanning escapes

    When Scanf encounters a %dS format (d is an integer, the "field with"), it reads the string with a counter for how many characters of the field width are left. It stops when the counter reaches exactly 0. Ordinary characters take the counter down by one each, but escape sequences are several characters long and reduce the counter by their whole length in one…

    Nicolás Ojeda Bär (@nojb)
  6. IssueW45.2026 · 2–8 Novocaml/ocaml

    String.take_first and String.take_last ignore min_int

    String.take_first and String.take_last return the whole string for min_int, and String.drop_last returns "". The interface says n <= 0 gives "" for the take functions and s for drop_last.

    KC Sivaramakrishnan (@kayceesrk)
  7. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    Structured diagnostics for the compiler

    See also https://github.com/ocaml/RFCs/pull/45 and https://icfp24.sigplan.org/details/ocaml-2024-papers/16/Structured-diagnostics-for-the-OCaml-compiler for previous discussions .

    Florian Angeletti (@Octachron)
  8. IssueW45.2026 · 2–8 Novocaml/ocaml

    Terminated domains leak their finaliser tables

    Repeatedly spawning domains that register finalisers leaks memory after they terminate. Found with DeepSeek v4.1 Flash 1017. On 5.5.0, macOS arm64:

    KC Sivaramakrishnan (@kayceesrk)
  9. IssueW45.2026 · 2–8 Novocaml/ocaml

    Test lib-systhreads/test_c_thread_register is flaky under ThreadSanitizer

    I haven’t have been able to diagnose further yet, but sometimes under TSan the program exits without having printed the single expected output line:

    Olivier Nicole (@OlivierNicole)
  10. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    Test the mingw-w64 port on GitHub Actions instead of AppVeyor

    This PR adds a GitHub Actions job to test the mingw64 build.

    Nicolás Ojeda Bär (@nojb)
  11. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    Tweak runtime assertions when marking closures

    The first commit removes a redundant check (at some point in the past, offset could have come from the caller).

    Vincent Laviron (@lthls)
  12. IssueW45.2026 · 2–8 Novocaml/ocaml

    Unix.ADDR_INET silently truncates the port

    Unix.ADDR_INET accepts any int as the port and truncates it modulo 65536 when the address is converted to a sockaddr_in. bind with port 70000 binds 4464.

    KC Sivaramakrishnan (@kayceesrk)
  13. IssueW45.2026 · 2–8 Novocaml/ocaml

    Unix.gmtime is incorrect when its argument is >= 2^31 on 32-bit architectures

    On i386:

    Stéphane Glondu (@glondu)
  14. IssueW45.2026 · 2–8 Novocaml/ocaml

    Unix.setuid and Unix.getpwuid truncate ids mod 2^32

    Unix.getpwuid (0x1_0000_0000 + 501) returns the entry for uid 501, and Unix.setuid (0x1_0000_0000 + 501) is setuid 501. The stubs convert the id with Int_val, which casts it to a C int (caml/mlvalues.h:84), so an out-of-range id is silently reduced mod 2^32 instead of rejected.

    KC Sivaramakrishnan (@kayceesrk)
  15. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    Unix.sockaddr: raise invalid_arg if port is out of range

    Tweak the runtime function that converts a Unix.sockaddr into a sockaddr_* C datatype to fail with Invalid_argument when the port is out of range.

    Nicolás Ojeda Bär (@nojb)
  16. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    Upstream automatic compaction from OxCaml

    Based on the previous conversation, this PR upstreams automatic compaction from OxCaml to OCaml trunk/5.x

    nicki (@curche)
  17. IssueW45.2026 · 2–8 Novocaml/ocaml

    Warnings 74 and 75 are missing from the manpage

    warnings.ml shows:

    Kate (@kit-ty-kate)
  18. IssueW45.2026 · 2–8 Novocaml/ocaml

    Win32 select: writable socket only reported once.

    When the lists passed to Unix.select contain a non-socket, a writable socket is reported only by the first call.

    Kento Okura (@kentookura)
  19. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    [v2] configure: use Autoconf support for detecting the C++ compiler

    Re-landing of #14996 after it was reverted in #15193.

    Antonin Décimo (@MisterDA)
  20. Pull requestW45.2026 · 2–8 Novocaml/ocaml

    add ids to ephemeron issue

    /cc @Octachron @gasche

    Hannes Mehnert (@hannesm)