Ticket #4202 (closed enhancement: wontfix)

Opened 3 years ago

Last modified 3 years ago

[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

MC_SID.patch (2.4 KB) - added by psprint 3 years ago.

Change History

Changed 3 years ago by psprint

comment:1 Changed 3 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to wontfix
  • Milestone Future Releases deleted
Note: See TracTickets for help on using tickets.