Skip to content

Raise consistently on avm_unix uart:open/1,2 failure#2360

Open
pguyot wants to merge 1 commit into
atomvm:release-0.7from
pguyot:w29/fix-unix-uart-spec
Open

Raise consistently on avm_unix uart:open/1,2 failure#2360
pguyot wants to merge 1 commit into
atomvm:release-0.7from
pguyot:w29/fix-unix-uart-spec

Conversation

@pguyot

@pguyot pguyot commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator

The configure-failure branch returned {error, _} while the other two failure paths raise; the open/1,2 spec only allows {pid(), fd()}.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

The configure-failure branch returned {error, _} while the other two
failure paths raise; the open/1,2 spec only allows {pid(), fd()}.

Signed-off-by: Paul Guyot <pguyot@kallisys.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant