Re: [Toybox] [PATCH] Use NULL rather than 0 in vargs. (Rob Landley)

2017-12-16 Thread enh
On Mon, Dec 11, 2017 at 10:05 AM, Rob Landley wrote: > On 12/10/2017 08:30 PM, James McMechan wrote: >> Yes, history still has a lot of sharp teeth waiting to bite. >> Alas, it is not just old buildings, people are still producing stuff >> with oddball settings. >> e.g. my controller software is h

Re: [Toybox] [PATCH] Use NULL rather than 0 in vargs.

2017-12-16 Thread enh
On Sun, Dec 10, 2017 at 12:28 PM, Rob Landley wrote: > My first weekend back home in Austin, and GOING to pick something to > spend some time on, and I guess it's this. :) > > On 12/05/2017 11:32 AM, enh wrote: >> want me to switch to arrays? (and if so, presumably using ARRAY_LEN >> rather than a

Re: [Toybox] [PATCH] Use NULL rather than 0 in vargs. (Rob Landley)

2017-12-11 Thread James McMechan
On Mon, Dec 11, 2017 at 10:05 AM, Rob Landley wrote: > On 12/10/2017 08:30 PM, James McMechan wrote: >> Yes, history still has a lot of sharp teeth waiting to bite. >> Alas, it is not just old buildings, people are still producing stuff >> with oddball settings. >> e.g. my controller software is h

Re: [Toybox] [PATCH] Use NULL rather than 0 in vargs. (Rob Landley)

2017-12-11 Thread Rob Landley
On 12/10/2017 08:30 PM, James McMechan wrote: > Yes, history still has a lot of sharp teeth waiting to bite. > Alas, it is not just old buildings, people are still producing stuff > with oddball settings. > e.g. my controller software is hardcoded to 7-o-1.5 make the > replacement work like the old

Re: [Toybox] [PATCH] Use NULL rather than 0 in vargs. (Rob Landley)

2017-12-11 Thread Rob Landley
It's _really_ hard to figure out which parts of this are quoted and which parts are replies... On 12/10/2017 07:29 PM, scsijon wrote: > > > On 12/11/2017 08:20 AM, toybox-requ...@lists.landley.net wrote: > One of the reasons I hadn't done stty yet is I'm not sure how much of > the serial setting

Re: [Toybox] [PATCH] Use NULL rather than 0 in vargs. (Rob Landley)

2017-12-10 Thread James McMechan
m: Rob Landley > To: enh > Cc: toybox@lists.landley.net > Subject: Re: [Toybox] [PATCH] Use NULL rather than 0 in vargs. > Message-ID: <295e1992-8a2f-0070-3c2f-6e5fde0be...@landley.net> > Content-Type: text/plain; charset=utf-8 > > My first weekend back home in Austin, and

Re: [Toybox] [PATCH] Use NULL rather than 0 in vargs. (Rob Landley)

2017-12-10 Thread scsijon
On 12/11/2017 08:20 AM, toybox-requ...@lists.landley.net wrote: 2. Re: [PATCH] Use NULL rather than 0 in vargs. (Rob Landley) Message: 2 Date: Sun, 10 Dec 2017 14:28:50 -0600 From: Rob Landley To: enh Cc: toybox@lists.landley.net Subject: Re: [Toybox] [PATCH] Use NULL rather than 0 in

Re: [Toybox] [PATCH] Use NULL rather than 0 in vargs.

2017-12-10 Thread Rob Landley
My first weekend back home in Austin, and GOING to pick something to spend some time on, and I guess it's this. :) On 12/05/2017 11:32 AM, enh wrote: > want me to switch to arrays? (and if so, presumably using ARRAY_LEN > rather than an explicit end element?) I can do it as part of my cleanup pas

Re: [Toybox] [PATCH] Use NULL rather than 0 in vargs.

2017-12-05 Thread enh
want me to switch to arrays? (and if so, presumably using ARRAY_LEN rather than an explicit end element?) On Mon, Dec 4, 2017 at 10:47 PM, Rob Landley wrote: > On 12/04/2017 03:27 PM, enh wrote: >> Top bits count too! > > Sigh. This is why I use arrays rather than varargs for table driven logic.

Re: [Toybox] [PATCH] Use NULL rather than 0 in vargs.

2017-12-04 Thread Rob Landley
On 12/04/2017 03:27 PM, enh wrote: > Top bits count too! Sigh. This is why I use arrays rather than varargs for table driven logic. (I do not understand whoever decided that you promote every argument to 32 bits but _not_ 64 bits. Because systems with 1 megabyte of memory back in the 80's had roo

[Toybox] [PATCH] Use NULL rather than 0 in vargs.

2017-12-04 Thread enh
Top bits count too! --- toys/pending/stty.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) From 693e1d9f7a3ebcbb791d1209530cd16aac92bbbc Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 4 Dec 2017 12:31:53 -0800 Subject: [PATCH] Use NULL rather than 0 in vargs. To