Skip to content

Fix USERENTRY_DCCDIR - #1928

Open
michaelortmann wants to merge 1 commit into
eggheads:developfrom
michaelortmann:fix.1927
Open

Fix USERENTRY_DCCDIR#1928
michaelortmann wants to merge 1 commit into
eggheads:developfrom
michaelortmann:fix.1927

Conversation

@michaelortmann

@michaelortmann michaelortmann commented Aug 8, 2026

Copy link
Copy Markdown
Member

Found by: nicoulaa
Patch by: michaelortmann
Fixes: #1927

One-line summary:
Fix USERENTRY_DCCDIR

Additional description (if needed):
Proper initialize user_entry_type fields when initializing USERENTRY_DCCDIR from USERENTRY_INFO. See also

memcpy(&USERENTRY_FWD, &USERENTRY_INFO, sizeof(void *) * 12);

Test cases demonstrating functionality (if applicable):
Before:

.info test
Your default info is now: test
.files
.cd /incoming
.quit
.info
Default info: incoming

After:

.info test
Your default info is now: test
.files
.cd /incoming
.quit
.info
Default info: test

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.

filesys.mod change info line in userlist with cd command

1 participant