Ticket #4202 (closed enhancement: wontfix)

Opened 5 months ago

Last modified 6 weeks 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 5 months ago.

Change History

Changed 5 months ago by psprint

comment:1 Changed 6 weeks 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.