DragonFly BSD
DragonFly users List (threaded) for 2006-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: bmake not killing childrens

From: Bill Hacker <wbh@xxxxxxxxxxxxx>
Date: Sat, 30 Sep 2006 02:21:00 +0800

Victor Balada Diaz wrote:

some of you may have noticed that sometimes when you type Ctrl + C
to stop bmake it doesn't stop. I find that behaviour annoying so
i created this patch[1] to solve it.

I find 'hard to stop' annoying enough in general to always have a second session open, uusally with 'top' in it...

A 'kill -9 <bmake's PID>' or a 'killall <bmake's executable name>'

- can cause just as much joy - or damage - without need of a patch to anything.

And fits *almost all known* executables as well...

(some modes of DJB's 'daemontools' are hard to find, but those aren't used by grownups anyway).


This patch disables make compatibility mode, so some things WILL break. bmake unit tests is an example of this. So to install the new bmake you'll need to cp /usr/pkgsrc/devel/bmake/work/DragonFly/bmake to /usr/pkg/bin/bmake

I've tried it compiling mule-ucs package and seems that bmake with
the patch did his job fine, but it may break things, so use with

Also it would be great if someone who knows bmake internals could
find a better and definitive solution.

[1]: http://bsdes.net/~victor/dfbsd/bmake/main.c.patch

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]