Date: Sun, 7 Aug 2016 08:19:31 +0000 From: Piotr Stefaniak <email@piotr-stefaniak.me> To: Pedro Giffuni <pfg@FreeBSD.org>, Ed Schouten <ed@nuxi.nl> Cc: src-committers <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r303746 - head/usr.bin/indent Message-ID: <VI1PR0901MB150127A162620B7A73B1C3EB851A0@VI1PR0901MB1501.eurprd09.prod.outlook.com> In-Reply-To: <54ec1a67-177b-9fb7-ad2a-b3f371926cc5@FreeBSD.org> References: <201608041527.u74FR9xo083057@repo.freebsd.org> <CABh_MKkD2N4YXEJGHA14zavYuF_PmwDei6tjKTm4kC4mr1MY=Q@mail.gmail.com> <54ec1a67-177b-9fb7-ad2a-b3f371926cc5@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--_002_VI1PR0901MB150127A162620B7A73B1C3EB851A0VI1PR0901MB1501_ Content-Type: text/plain; charset="utf-8" Content-ID: <2E6B34E094EC8946BE1CBBBB169BEA9B@eurprd09.prod.outlook.com> Content-Transfer-Encoding: base64 T24gMjAxNi0wOC0wNiAyMjoxOCwgUGVkcm8gR2lmZnVuaSB3cm90ZToNCj4gT24gMDYvMDgvMjAx NiAxNToxMywgRWQgU2Nob3V0ZW4gd3JvdGU6DQo+PiAyMDE2LTA4LTA0IDE3OjI3IEdNVCswMjow MCBQZWRybyBGLiBHaWZmdW5pIDxwZmdAZnJlZWJzZC5vcmc+Og0KPj4+IExvZzoNCj4+PiAgICBp bmRlbnQoMSk6IFVzZSBic2VhcmNoKCkgZm9yIGxvb2tpbmcgdXAgdHlwZSBrZXl3b3Jkcy4NCj4+ IFlvdSdyZSBuZXZlciBkb2luZyBhbnkgZGVsZXRpb25zLCByaWdodD8gV291bGQgaXQgbWFrZSBt b3JlIHNlbnNlIHRvDQo+PiB1c2UgaHNlYXJjaF9yKCkgaW4gdGhhdCBjYXNlPw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BzYW1lLCBidXQgaXQncyBhIHNob3ctc3RvcHBlciB0 byBtZSBhbnl3YXksIHNvIHBlcnNvbmFsbHkgSSANCndvbid0IGJlIHB1cnN1aW5nIHRoaXMgaWRl YSBvZiByZXBsYWNpbmcgYnNlYXJjaCgpIHdpdGggaHNlYXJjaCgpLg0KDQo= --_002_VI1PR0901MB150127A162620B7A73B1C3EB851A0VI1PR0901MB1501_ Content-Type: text/x-patch; name="lexi.c.diff" Content-Description: lexi.c.diff Content-Disposition: attachment; filename="lexi.c.diff"; size=2121; creation-date="Sun, 07 Aug 2016 08:19:30 GMT"; modification-date="Sun, 07 Aug 2016 08:19:30 GMT" Content-ID: <FF539753B6D046408990317E4D827730@eurprd09.prod.outlook.com> Content-Transfer-Encoding: base64 LS0tIGxleGkuYwkyMDE2LTA4LTA3IDEwOjEwOjU0LjExNTM4MjYyMSArMDIwMA0KKysrIGxleGku Yy5oY3JlYXRlCTIwMTYtMDgtMDcgMTA6MDk6MzMuNTQ4Mzk0NDU2ICswMjAwDQpAQCAtNTIsNiAr NTIsNyBAQA0KICNpbmNsdWRlIDxjdHlwZS5oPg0KICNpbmNsdWRlIDxzdGRsaWIuaD4NCiAjaW5j bHVkZSA8c3RyaW5nLmg+DQorI2luY2x1ZGUgPHNlYXJjaC5oPg0KICNpbmNsdWRlICJpbmRlbnRf Z2xvYnMuaCINCiAjaW5jbHVkZSAiaW5kZW50X2NvZGVzLmgiDQogI2luY2x1ZGUgImluZGVudC5o Ig0KQEAgLTI3MCwxMyArMjcxLDE0IEBADQogCSAgICBzaXplb2Yoc3BlY2lhbHNbMF0pLA0KIAkg ICAgc3RyY21wX3R5cGUpOw0KIAlpZiAocCA9PSBOVUxMKSB7CS8qIG5vdCBhIHNwZWNpYWwga2V5 d29yZC4uLiAqLw0KKwkgICAgRU5UUlkgaXRlbTsNCiAJICAgIGNoYXIgKnU7DQogDQorCSAgICBp dGVtLmtleSA9IHNfdG9rZW47DQorDQogCSAgICAvKiAuLi4gc28gb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127A162620B7A73B1C3EB851A0VI1PR0901MB1501_--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?VI1PR0901MB150127A162620B7A73B1C3EB851A0>