Skip to content

netprefs posixc - #1102

Merged
Kalamatee merged 1 commit into
aros-development-team:masterfrom
bsek:bsek/netprefs-posixc
Sep 1, 2026
Merged

Kalamatee merged 1 commit into
aros-development-team:masterfrom
bsek:bsek/netprefs-posixc

Conversation

@bsek

@bsek bsek commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Fixes problem with network configuration lost between saves and removes the test button, as it cannot work correctly given how the network preferences program currently works.

A posixc FILE holds an fd indexing that base's descriptor table, and posixc is pertaskbase, so the handle is meaningless once it crosses into a module. That caused empty files being written on save.

@bsek
bsek force-pushed the bsek/netprefs-posixc branch 3 times, most recently from 9a88d43 to f94371c Compare September 1, 2026 20:42
Add set MUIA_List_Active to entries + 1 while the new row sits at entries,
relying on MUI to clamp. It was also set outside the guard, so with a full
list nothing was inserted but the selection moved anyway. The same in all
five places: interfaces, tunnels, hosts, networks and shares.
@bsek
bsek force-pushed the bsek/netprefs-posixc branch from f94371c to a939cc2 Compare September 1, 2026 20:47
@Kalamatee
Kalamatee merged commit ee24547 into aros-development-team:master Sep 1, 2026
3 checks passed
@bsek
bsek deleted the bsek/netprefs-posixc branch September 21, 2026 16:02
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.

2 participants