Ticket #4202 (closed enhancement: wontfix)
[patch] Move MC_SID setting to main.c
Reported by: | psprint | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | mc-core | Version: | master |
Keywords: | sid | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
With the InstructionStation? CLI window it'll be possible for a user to use MC_SID value even when not in the sub shell, so I think that it should be set outside subshell related initialization. This patch implements this – it moves setsid() and getsid()/putenv() code snippet (a short one) early to main(), in main.c.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.