lp:mksh

Created by Thorsten Glaser on 2010-07-09 and last modified on 2020-05-16

Main code repository of The MirBSD Korn Shell

Get this branch:
bzr branch lp:mksh

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Thorsten Glaser
Project:
mksh
Status:
Mature

Import details

Import Status: Reviewed

This branch is an import of the CVS module mksh from :ext:_anoncvs@anoncvs.mirbsd.org:/cvs.

The next import is scheduled to run in 6 hours.

Last successful import was 5 hours ago.

Import started 5 hours ago on alnitak and finished 5 hours ago taking 25 seconds — see the log
Import started 17 hours ago on alnitak and finished 17 hours ago taking 25 seconds — see the log
Import started on 2020-06-03 on alnitak and finished on 2020-06-03 taking 25 seconds — see the log
Import started on 2020-06-02 on alnitak and finished on 2020-06-02 taking 25 seconds — see the log
Import started on 2020-06-02 on alnitak and finished on 2020-06-02 taking 25 seconds — see the log
Import started on 2020-06-01 on alnitak and finished on 2020-06-01 taking 25 seconds — see the log
Import started on 2020-06-01 on alnitak and finished on 2020-06-01 taking 25 seconds — see the log
Import started on 2020-05-31 on alnitak and finished on 2020-05-31 taking 25 seconds — see the log
Import started on 2020-05-31 on alnitak and finished on 2020-05-31 taking 25 seconds — see the log
Import started on 2020-05-30 on alnitak and finished on 2020-05-30 taking 25 seconds — see the log

Whiteboard

20100709 maxb Approved
20100709 maxb It looks like we'll need the LOSAs to manually accept the ssh host key, suspending for now - pending https://answers.launchpad.net/launchpad-code/+question/117193
20110610 mirabilos Imported fine, thanks!
20120216 mirabilos Fixed server-side error w.r.t. the modules file, import may be unfailed again

Recent revisions

3022. By tg on 2020-05-16

lgtm now

3021. By tg on 2020-05-16

if as_builtin skip_startup_files:

• FTALKING cannot be set
• FLOGIN can be set but MKSH_SYSTEM_PROFILE shan’t be read nor ~/.profile
• FPRIVILEGED can be set but MKSH_SUID_PROFILE also be skipped,
  and the change_flag dance isn’t needed in direct builtin calls
• restricted_shell and errexit are always 0: parse_args only !as_builtin

3020. By tg on 2020-05-16

do the fstat only if used anyway

3019. By tg on 2020-05-16

revamp AS_BUILTIN handling:

move out of shell_flags into global boolean (also saves space and runtime);
canonicalise argv[0] for direct builtin calls

3018. By tg on 2020-05-16

pull processing of ‘-’, ‘r’, “sh” into one place (also optimises startup)

3017. By tg on 2020-05-16

ensure leading - does set FLOGIN

3016. By tg on 2020-05-16

correct whether the name or basename of the shell is used,
and emphasise that ‘-’ and ‘r’ processing and basenaming happens
before “sh” comparison

3015. By tg on 2020-05-16

compare direct builtin call names case-insensitively on OS/2 (only)

rationale: stricmp isn’t available elsewhere universally, but already
used on OS/2, and only it needs this most

3014. By tg on 2020-05-16

test more argv[0]s; found two further bugs:

• the check for “basename beginning with "sh"” was not executed like that
• checks for r and sh weren’t case-insensitive

3013. By tg on 2020-05-16

fix initialisation casing

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers