lp:mksh

Created by Thorsten Glaser on 2010-07-09 and last modified on 2017-10-17

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 11 hours.

Last successful import was 13 minutes ago.

Import started 14 minutes ago on russkaya and finished 13 minutes ago taking 50 seconds — see the log
Import started 12 hours ago on pear and finished 12 hours ago taking 30 seconds — see the log
Import started on 2017-11-22 on pear and finished on 2017-11-22 taking 30 seconds — see the log
Import started on 2017-11-22 on pear and finished on 2017-11-22 taking 30 seconds — see the log
Import started on 2017-11-21 on pear and finished on 2017-11-21 taking 30 seconds — see the log
Import started on 2017-11-21 on pear and finished on 2017-11-21 taking 30 seconds — see the log
Import started on 2017-11-20 on pear and finished on 2017-11-20 taking 30 seconds — see the log
Import started on 2017-11-20 on pear and finished on 2017-11-20 taking 30 seconds — see the log
Import started on 2017-11-19 on pear and finished on 2017-11-19 taking 30 seconds — see the log
Import started on 2017-11-19 on pear and finished on 2017-11-19 taking 30 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

2814. By tg on 2017-10-17

tentatively fix Debian #878947 by putting an end to (some) nesting

‣ also makes the error message nicer:
tg@blau:/usr/obj/bin/mksh $ mksh -n -c '${0$(($(o[))&$(($(p[))&)'
internal error: can't allocate 8388628 data bytes
tg@blau:/usr/obj/bin/mksh $ mksh -n -c '${0$(($(o[))&$(($(p[))&)^J'
mksh: no closing quote
1|tg@blau:/usr/obj/bin/mksh $ ./mksh -n -c '${0$(($(o[))&$(($(p[))&)'
./mksh: syntax error: unmatched '('
1|tg@blau:/usr/obj/bin/mksh $ ./mksh -n -c '${0$(($(o[))&$(($(p[))&)^J'
./mksh: syntax error: unmatched '('

‣ alternative fix would be to keep the block and do…
- } else {
+ } else if (source->type != SEOF) {
… but that would keep “no closing quote” for the case with newline,
and since this seems to not break… nuking unused code is always good ☻

2813. By tg on 2017-10-15

apply another quickfix by komh

really, getdrvwd should be passed an Xstring (probably with Xinit0 in
the callers), especially as one caller already didn’t update ldestlen
properly… (but not tonight as I’ve really got no head for that left)

2812. By tg on 2017-10-14

move getdrvwd() declaration out of OS/2-specific part:
each MKSH_DOSPATH port is required to define it (and, later, others)

2811. By tg on 2017-10-14

add MKSH_ENVDIR code for Jehanne (OS by Shamar (giacomotesio) from IRC):
instead of parsing extern char **environ; read it from a filesystem
(typical for Plan 9, though this one is __jehanne__ per ifdef)

tested on MirBSD and found to be working

2810. By tg on 2017-10-14

fix “cd e:foo” on DOSPATH systems (I think)

2809. By tg on 2017-10-13

move slashifying of PATH, TMPDIR and two OS/2-specific variables from
OS/2-specific to common DOSPATH-specific code (ifdef for the latter two)

also gets us rid of the use of getenv

2808. By tg on 2017-10-13

fix a longstanding double substitution

2807. By tg on 2017-10-13

komh says these are redundant

2806. By tg on 2017-10-12

apply fixes from code review by @komh

2805. By tg on 2017-10-11

note on rooted pathnames, concept found in original pdksh which had
various forms of path attributes (not just absolute or not), though
we shouldn’t just copy theirs either

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