Skip to content

chore(license): SPDX headers PMPL-1.0-or-later → MPL-2.0 (Closes #301) - #304

Merged
hyperpolymath merged 1 commit into
mainfrom
relicense-pmpl-to-mpl2
May 20, 2026
Merged

chore(license): SPDX headers PMPL-1.0-or-later → MPL-2.0 (Closes #301)#304
hyperpolymath merged 1 commit into
mainfrom
relicense-pmpl-to-mpl2

chore(license): SPDX headers PMPL-1.0-or-later → MPL-2.0 (Closes #301)

f4e1826
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / Semgrep OSS succeeded May 20, 2026 in 3s

4 new alerts

New alerts in code changed by this pull request

  • 4 warnings

Alerts not introduced by this pull request might have been detected because the code changes were too large.

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 745 in lib/interp.ml

See this annotation in the file changed.

Code scanning / Semgrep OSS

Semgrep Finding: ocaml.lang.portability.crlf-support.prefer-read-in-binary-mode Warning

'open_in' behaves differently on Windows and on Unix-like systems with respect to line endings. To get the same behavior everywhere, use 'open_in_bin' or 'open_in_gen [Open_binary]'. If you really want CRLF-to-LF translations to take place when running on Windows, use 'open_in_gen [Open_text]'.

Check warning on line 759 in lib/interp.ml

See this annotation in the file changed.

Code scanning / Semgrep OSS

Semgrep Finding: ocaml.lang.portability.crlf-support.prefer-write-in-binary-mode Warning

'open_out' behaves differently on Windows and on Unix-like systems with respect to line endings. To get the same behavior everywhere, use 'open_out_bin' or 'open_out_gen [Open_binary]'. If you really want LF-to-CRLF translations to take place when running on Windows, use 'open_out_gen [Open_text]'.

Check warning on line 60 in lib/lsp_server.ml

See this annotation in the file changed.

Code scanning / Semgrep OSS

Semgrep Finding: ocaml.lang.portability.crlf-support.broken-input-line Warning

'input_line' leaves a '\r' (CR) character when reading lines from a Windows text file, whose lines end in "\r\n" (CRLF). This is a problem for any Windows file that is being read either on a Unix-like platform or on Windows in binary mode. If the code already takes care of removing any trailing '\r' after reading the line, add a '(* nosemgrep *)' comment to disable this warning.

Check warning on line 176 in lib/lsp_server.ml

See this annotation in the file changed.

Code scanning / Semgrep OSS

Semgrep Finding: ocaml.lang.portability.crlf-support.prefer-write-in-binary-mode Warning

'open_out' behaves differently on Windows and on Unix-like systems with respect to line endings. To get the same behavior everywhere, use 'open_out_bin' or 'open_out_gen [Open_binary]'. If you really want LF-to-CRLF translations to take place when running on Windows, use 'open_out_gen [Open_text]'.