Steffen Daode Nurpmeso dixit:
>And it also happens on DragonFly 3.2-RELEASE with R42b.
Well, that doesn’t say anything ;-)
>Indeed that´s true. But we´re talking about 1.000.000 bytes of
>sources, do we… I´m willing, however …
tg@herc:~ $ cat /usr/src/bin/mksh/*.[ch] | wc
30682 106558 695204
Not that much. And you can pretty much ignore edit.c
anyway, and for this task some others too:
5458 17064 109443 edit.c
137 531 3464 lalloc.c
1158 4022 25757 shf.c
52 276 1620 strlcpy.c
1124 3384 23526 tree.c
1564 5449 34316 var.c
89 243 2699 emacsfn.h
2083 9514 63794 sh.h
149 548 3999 sh_flags.h
43 98 783 var_spec.h
11857 41129 269401 total
That leaves you with about 18 kLOC at most.
But yes, I also hate signal handling. Might be worth
the effort to try to get the people who worked on the
shells in NetBSD® base into the boat, as they probably
did this once and know exactly what (just not where in
mksh) to change.
bye,
//mirabilos
--
„nein: BerliOS und Sourceforge sind Plattformen für Projekte, github ist
eine Plattform für Einzelkämpfer“
-- dieses Zitat ist ein Beweis dafür, daß auch ein blindes Huhn
mal ein Korn findet, bzw. – in diesem Fall – Recht haben kann