Date: Wed, 19 Sep 2001 06:00:05 -0700 (PDT) From: Ruslan Ermilov <ru@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/30641: Patch for games/grdc Message-ID: <200109191300.f8JD05K61656@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/30641; it has been noted by GNATS. From: Ruslan Ermilov <ru@FreeBSD.org> To: Andrey Simonenko <simon@simon.org.ua> Cc: bug-followup@FreeBSD.org Subject: Re: bin/30641: Patch for games/grdc Date: Wed, 19 Sep 2001 15:58:08 +0300 On Tue, Sep 18, 2001 at 11:39:12AM +0300, Andrey Simonenko wrote: > > grdc(8) outputs big digital clock. Color of digits is red, if grdc(8) > is used on b/w display, then it is hard to see something. > > This patch adds new flag to grdc(8): -b, which changes color of digits > to b/w. Also arguments checking is improved. > Use the right (B/W) terminal type such as cons25-m. > In this patch type of "sigtermed" variable is changed from "int" to > "voilatile sig_atomic_t", because "sigtermed" variable is changed in signal > handler. > This looks OK though a bit superflows in this case. :-) Also, is sig_atomic_t guaranteed to be a superset of int? (I'm mostly concerned about the portability issues here, I know that in FreeBSD sig_atomic_t is ether int or long.) Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109191300.f8JD05K61656>