lp:mksh

Created by Thorsten Glaser and last modified

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 .

Last successful import was .

Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 15 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 30 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 20 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 25 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 25 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 25 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 20 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 20 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 20 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 20 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

3402. By tg

switch chown to fchown, by CodeQL; the code’s palliative anyway but…

3401. By tg

address multiple issues:
• drop the MKSH__NO_PATH_MAX flag
  → check for get_current_dir_name() in Mirtoconf
  → rewrite ksh_getcwd() code to be more memory-efficient,
    allocate/free less (especially without get_current_dir_name),
    and return const; let it loop raising the buffer size if too
    small and use an interesting initial guess¹; adapt callers
  → fix do_realpath to always use the dynamic size codepath but
    correct casts and checks
  → also just always guess-and-resize, but guess smaller, for cd
• drop the HP-UX 9 struct timeval monkeypatch
  → add and use timercmp instead of timersub plus check for <0
• promote mksh_MAXSZ as mbiSIZEMAX to mbsdint.h
  + in Mirtoconf, determine whether RSIZE_MAX (C11+ optional) is
    a (defined) compile-time integer constexpr, which mbsdint.h
    can use to set mksh_MAXSZ to it if it checks out
• the heredoc-tmpfile-8 test changed slightly, to help determining
  its, currently in Debian rather often, failure cases… help welcome

3400. By tg

DragonFly BSD defines NELEM in <sys/param.h> õÕ

3399. By tg

but --version works with newer clang than the “preview” with ccc in MirPorts

3398. By tg

always call open(2) with three arguments even if we come from its
two-argument form, otherwise some compilers complain, such as:

aCC: HP ANSI C++ B3910B A.03.56

(needs -Ae, otherwise it tries using CFrustFrust rules on the sources…)

3397. By tg

UCD 15.0.0

+ various new or restyled acronyms
+ wtf: m-s, screen

3396. By tg

update error message for disabled things and fix it to go to stderr

now only errorlevel 126 is missing, but meh

3395. By tg

just like jupp (cf. cid 1006316A1461C1A33B8), a hardcoded PATH_MAX is bad
(even outside the Hurd)

3394. By tg

some extra safeties when doing strdup-ish things

3393. By tg

NULL is not a number, is it? — … — Is it?

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.