signed overflow in atan2

2018-02-14 Thread Eitan Adler
;30)&2); /* 2*sign(x)+sign(y) */ /* when y = 0 */ -- Eitan Adler

Re: init(8): unifdef LOGIN_CAP

2018-01-06 Thread Eitan Adler
On 6 January 2018 at 17:03, Eitan Adler wrote: > On 6 January 2018 at 05:48, Todd C. Miller wrote: >> There's no need for a compile-time knob to control the use of >> login.conf. > > What about usr.bin/login, usr.bin/passwd, usr.bin/newgrp, etc? ... or nevermind. I was

Re: init(8): unifdef LOGIN_CAP

2018-01-06 Thread Eitan Adler
On 6 January 2018 at 05:48, Todd C. Miller wrote: > There's no need for a compile-time knob to control the use of > login.conf. What about usr.bin/login, usr.bin/passwd, usr.bin/newgrp, etc? -- Eitan Adler

synchronizing pf.os from DragonFlyBSD

2017-12-26 Thread Eitan Adler
+57344:64:0:64:M*,N,W5,N,N,S,N,N,T: DragonFly:2.4-2.7::DragonFly 2.4-2.7 # - Solaris - -- Eitan Adler

Re: libedit patch

2014-05-15 Thread Eitan Adler
only minor changes were needed). A true vendor import would be sufficient as well. :) -- Eitan Adler

libedit patch

2014-05-14 Thread Eitan Adler
he_seterrev(ev, _HE_HIST_WRITE); + break; + + case H_SAVE_FP: + retval = history_save_fp(h, va_arg(va, FILE *)); + if (retval == -1) + he_seterrev(ev, _HE_HIST_WRITE); break; case H_PREV_EVENT: -- Eitan Adler

Re: ip6opt.c

2014-02-06 Thread Eitan Adler
On Tue, Feb 4, 2014 at 8:54 PM, Alexander Bluhm wrote: > On Tue, Feb 04, 2014 at 08:35:02PM -0500, Eitan Adler wrote: >> Hi all, >> >> The following bug was recently fixed in DragonFlyBSD and FreeBSD: >> >> libc/net: Fix issue in inet6_opt_init() (from RFC 3542):

ip6opt.c

2014-02-04 Thread Eitan Adler
t->ip6e_len = (extlen >> 3) - 1; } -- Eitan Adler

Re: pf.os: add additional fingerprints

2013-12-03 Thread Eitan Adler
On Tue, Dec 3, 2013 at 3:55 AM, Stuart Henderson wrote: > On 2013/12/02 23:39, Eitan Adler wrote: >> Hi all, >> >> This is a simple enough patch: >> >> Index: pf.os >> ==*= >> RCS file

pf.os: add additional fingerprints

2013-12-02 Thread Eitan Adler
:1:64:N,W3,N,N,T0,N,N,S,M*: Solaris:8:RFC1323:Solaris 8 RFC1323 -- Eitan Adler

1 << 31 and related bugs

2013-11-23 Thread Eitan Adler
did not make an effort to remove correct examples. -- Eitan Adler

Re: Small patch for fmt(1)

2013-11-18 Thread Eitan Adler
On Mon, Nov 18, 2013 at 11:09 PM, Philip Guenther wrote: > On Mon, Nov 18, 2013 at 7:16 PM, Eitan Adler wrote: > The argument passed to isupper must be "The argument to isupper() must > be EOF or representable as an unsigned char; otherwise, the result is > undefined." Th

Small patch for fmt(1)

2013-11-18 Thread Eitan Adler
*line) +might_be_header(const char *line) { if (!isupper(*line++)) -- Eitan Adler

rs, jot: missing headers

2013-11-14 Thread Eitan Adler
/0001.jot.diff and http://people.freebsd.org/~eadler/files/o/0002.rs.diff ] -- Eitan Adler FreeBSD Source, Ports, Doc committer

Re: rm(1) static addition

2013-04-28 Thread Eitan Adler
On 28 April 2013 15:25, Marc Espie wrote: > On Sat, Apr 27, 2013 at 09:12:21AM -0400, Eitan Adler wrote: >> FWIW I don't believe this sort of patch significantly affects >> debugging because that should be done with -O0 -g anyways. > > Bwahahaha > > You're luc

Re: rm(1) static addition

2013-04-27 Thread Eitan Adler
t, Apr 27, 2013 at 08:10, Otto Moerbeek wrote: >> > >> On Sat, Apr 27, 2013 at 01:08:06AM -0400, Eitan Adler wrote: >> > >> >> > >>> Adding static to internal function allows the compiler to better >> > >>> detect dead code (functi

Re: rm(1) static addition

2013-04-27 Thread Eitan Adler
On 27 April 2013 09:06, Kenneth R Westerback wrote: > On Sat, Apr 27, 2013 at 08:10:41AM +0200, Otto Moerbeek wrote: >> On Sat, Apr 27, 2013 at 01:08:06AM -0400, Eitan Adler wrote: >> >> > Hey all, >> > >> > Time for attempt #2! >> > >> &g

rm(1) static addition

2013-04-26 Thread Eitan Adler
7;.' && (!(a)[1] || ((a)[1] == '.' && !(a)[2]))) -void +static void checkdot(char **argv) { char *p, **save, **t; @@ -411,7 +411,7 @@ } } -void +static void usage(void) { (void)fprintf(stderr, "usage: %s [-dfiPRr] file ...\n", __progname); -- Eitan Adler