[klibc] [PATCH 0/2 v3] mkstemp() and m68k support

Thorsten Glaser tg at mirbsd.de
Sat Apr 14 12:12:34 PDT 2012

Dixi quod…

>patch to add mkstemp()

I rescind that patch, mksh does not use mkstemp() any more.
(This is inspired by klibc, but also by other platforms mksh
runs on which lack it, as tempnam() is no real fallback.)

>m68k support code, leading to (also, static and shared) mksh
>on it iff compiled with -g (let’s say, GCC is the culprit).

With -g and without -O2 or -Os. Weird.

>(When this works I’m probably going to build mksh-static on
>dietlibc-less Debian architectures against klibc, pending

Today’s mksh uploads to Debian try klibc first. Asides from
the m68k problem above I believe powerpc may be broken, but
let’s see when the results are there. mksh _has_ proven to be
a good compiler/toolchain/library/system test in the past.

  "Using Lynx is like wearing a really good pair of shades: cuts out
   the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
                                         -- Henry Nelson, March 1999

More information about the klibc mailing list