issue: https://github.com/zultron/linuxcnc/issues/77 fix: https://github.com/mhaberler/linuxcnc/commit/f11133126246f84b035f05d2331382f1ff745240
thanks! - Michael Am 17.02.2014 um 04:28 schrieb Jeff Epler <[email protected]>: > On Sun, Feb 16, 2014 at 07:45:07PM +0000, Michael Haberler wrote: > ... >> + // sigset of all the signals that we're interested in >> + assert(sigemptyset(&sigset) == 0); >> + assert(sigaddset(&sigset, SIGINT) == 0); >> + assert(sigaddset(&sigset, SIGKILL) == 0); >> + assert(sigaddset(&sigset, SIGTERM) == 0); >> + assert(sigaddset(&sigset, SIGSEGV) == 0); >> + assert(sigaddset(&sigset, SIGFPE) == 0); >> + > > the body of assert() should never have a side effect. If the code is > ever built with -DNDEBUG, the result will be wrong since the expression > will never be evaluated. > > Jeff > > ------------------------------------------------------------------------------ > Android apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
