[Dnsmasq-discuss] [PATCH] sed --in-place -e 's/^[ \t]*$//' src/*.c src/*.h

Geert Stappers stappers at stappers.nl
Sun Apr 18 10:21:12 UTC 2021


On Sat, Apr 10, 2021 at 12:13:17AM +0200, Geert Stappers via Dnsmasq-discuss wrote:
Subject: Re: [Dnsmasq-discuss] [PATCH] Was: PATCH Add DHCP6REPLY for DHCP6REBIND
> In-Reply-To: <20210408091641.30245-1-liaichun at huawei.com>
> On Thu, Apr 08, 2021 at 05:16:41PM +0800, Aichun Li wrote:
> > From: liaichun <liaichun at huawei.com>
> > 
> > --- a/src/rfc3315.c
> > +++ b/src/rfc3315.c
> > @@ -1027,7 +1027,105 @@ static int dhcp6_no_relay(struct state *state, int msg_type, void *inbuff, size_
> >  	break;
> >  	
> >        }
> > -      
> > +
> 
> Such changes should happen for a last time   :-)
> 
> 
> What follows is a patch too large for mailinglist message size limit.

Gentle reminder, please  "Copy and paste in bash"
 
sed --in-place -e 's/^[ \t]*$//' src/*.c src/*.h
git diff | wc  # shows large line count
git diff -w    # shows that it are only white space changes
git add src/*.c src/*.h
git commit -m "sed --in-place -e 's/^[ \t]*$//' src/*.c src/*.h

Makes empty lines truely empty lines."  --author "Geert Stappers <stappers at stappers.nl>"


Groeten
Geert Stappers
-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list