lp:mksh
Main code repository of The MirBSD Korn Shell
- Get this branch:
- bzr branch lp:mksh
Branch merges
Branch information
Import details
This branch is an import of the CVS module mksh from :ext:_anoncvs@anoncvs.mirbsd.org:/cvs.
Last successful import was .
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:/
20110610 mirabilos Imported fine, thanks!
20120216 mirabilos Fixed server-side error w.r.t. the modules file, import may be unfailed again
Recent revisions
- 3549. By tg
-
I recently managed to hit “j_async: bad nzombie (110)”, but this is
probably when other processes are “reparented” to mksh perhaps as
(relative) pid 1, so move it to #ifdef DEBUG - 3548. By tg
-
advance mbsd{int,cc}.h quite a bit:
• move mksh/sh.h SHIKATANAI macro to mbsdcc.h and test it (bt-normal)
• mirtime: note Issue 8 changes needed
• C++ mbccChkExpr/mbccCEX now work with both OpenWatcom C++ (targetting
Linux/i386), antique G++ and SUNWCC (Sun Studio 12.6), too
• C++ mbccFAMslot now works outside GCC/Clang/MSVC++ (“works”, [1] hah)
• OpenWatcom C: disable warning “Comparison result always 0” during CTA
(downside is that ending a CTA should restore the level, but it lacks
a pop pragma, so we set the level to 4/info)
• for all bitfields, use unsigned int because SUNWcc complains about
nōn-portable bitfields, C89 allows only {,{,un}signed} int anyway
• better consistency checks in mbCTA_END
• -DMBSDINT_H_SMALL_ SYSTEM= 3 handles 64-bit types again but works in a
16-bit environment (OpenWatcom C targetting DOS, where I got the
selftests to work but the whole testsuite won’t fit a segment, or
even multiple at once, we’re going to have to hack that eventually)
• -DMBSDINT_H_WANT_ LONG_IN_ SIZET=0 for 16-bit without size_t ≥ long
• change mbiTYPE_ISF to work in OpenWatcom C++; as that works in CTAs,
mbiCTA_TYPE_{NOT, not}F goes away
• work around MSVC ignoring (unsigned)sizetvar casts for -Wformat by
writing them as (0U + (unsigned)sizetvar) ; their rationale is to
make users switch to %zu ofc but we can’t do that in ancient C
• check bc(1) is usable near testsuite runner beginning
• rename all files to not have more than one dot, for OpenWatcom/DOS
• check the “whether we can build at all” result if it runs unless cross
• also check the split compile and link step works
• check for <float.h> for the testsuite’s system info helper and make
it show float, double and long double info if present
• split tif() from ti(), the latter “probably” fails compilation, in its
int parts, if a type is actually float; tif now uses some bounds checks
against the type-maximum and max-const deferring mbiMASK_BITS (and the
mbiMASK_BITS part of mbiTYPE_UBITS) into a function instead of inline
so the constant folder does not explode (also uses a volatile variable
for the same purpose) but this is just so we can go without configure-
time type checks exclusively in the system info helper
• time_t could be float outside of POSIX land, use tif to info it
(CTAs check other (shown) types to be integral) - 3546. By tg
-
fix for tracing when not run under dash (oops, eval)
I wonder why I did not do this in the first place… vaguely remembering
having some kind of trouble with it but… - 3543. By tg
-
more portability work thanks to RT
• retire MKSH_TYPEDEF_
SSIZE_T, define SSIZE_MIN/ SSIZE_MAX/ ssize_t via
cpp and early, so mbsdint.h et al. can use it as well
‣ this is probably still needing work (e.g. could autodetect-ish it),
maybe when mirtoconf’ing the mbsdint testsuthe
• try to detect SCDE (Standard C Development Environment) as compiler
on SINIX and SVR4
• default CC to 'cc -Xa' on SINIX and (for now) SVR4
• Dell UNIX (SVR4) has no ssize_t, either
• GCC/Dell UNIX needs -U__STDC__ -D__STDC__=0 to find NSIG
• drop remnant of older NSIG hack
• refresh MirBSD Makefiles - 3542. By tg
-
apply “typeset -p” bugfix from Martijn Dekker
also add a dummy test in front of fastbox test so users know
- 3541. By tg
-
make asciibetical() consistently return KUI type, document its max range
(it must be KUI, not KBY, as in EBCDIC it ranges up to USHRT_MAX (probably
at most 0x1FFU though), which is safe to use in subtraction comparison)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)