From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.bugs Subject: bug#16377: Undo Tree regression: (error "Unrecognized entry in undo list undo-tree-canary") Date: Wed, 05 Jul 2017 22:01:16 -0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart_Wed_Jul__5_22:01:16_2017-1" X-Trace: blaine.gmane.org 1499317338 3297 195.159.176.226 (6 Jul 2017 05:02:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Jul 2017 05:02:18 +0000 (UTC) Cc: 16377@debbugs.gnu.org, Barry OReilly , Toby Cubitt To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 06 07:02:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSyvX-0000Fp-9S for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Jul 2017 07:02:08 +0200 Original-Received: from localhost ([::1]:49277 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSyvc-0002Fk-Hf for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Jul 2017 01:02:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSyvV-0002Fc-MO for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2017 01:02:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSyvS-0002vI-KZ for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2017 01:02:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51369) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSyvS-0002v7-Bw for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2017 01:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dSyvS-0005AD-0x for bug-gnu-emacs@gnu.org; Thu, 06 Jul 2017 01:02:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jul 2017 05:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16377 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16377-submit@debbugs.gnu.org id=B16377.149931728219799 (code B ref 16377); Thu, 06 Jul 2017 05:02:01 +0000 Original-Received: (at 16377) by debbugs.gnu.org; 6 Jul 2017 05:01:22 +0000 Original-Received: from localhost ([127.0.0.1]:54046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSyun-00059G-UJ for submit@debbugs.gnu.org; Thu, 06 Jul 2017 01:01:22 -0400 Original-Received: from gateway23.websitewelcome.com ([192.185.49.219]:12869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSyul-000597-3t for 16377@debbugs.gnu.org; Thu, 06 Jul 2017 01:01:20 -0400 Original-Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway23.websitewelcome.com (Postfix) with ESMTP id 47EE2284BF for <16377@debbugs.gnu.org>; Thu, 6 Jul 2017 00:01:18 -0500 (CDT) Original-Received: from gator3053.hostgator.com ([50.87.144.69]) by cmsmtp with SMTP id SyuAdFsl30E7jSyuBdDndF; Thu, 06 Jul 2017 00:00:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com ; s=default; h=Content-Type:MIME-Version:Subject:Cc:To:From:Message-ID:Date: Sender:Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YzujTtLdAY8OXT/Hh/NeD2zrS2esgm8DlxkneVv4yUw=; b=lFaXLx4VxzmDYp4TLJSEW6hKCa 1hdATGvLpntOY/otGBqn7Nh/ZxOnBvuI3xWbFCpnlVHHQtbd6saijeryWiPiDehBGrlS3R/SgFZ2G QfaLjPUp8mPpDKG5kJfuWEhE94x8VpVdgqbl4P2C3AGQDmdI2whLRWVGXyLDNF0oyYRi4qDBw818Z fYLEc80Y19wx6ahJdXVJ3DC6v9vsTUAzi+jgisKAZbA1glHSoK5i8rpLPSwxtgmQxh1hzQC1Ie51F bloOl5lokrAwTWwpXANOsGZvFKCbIP/OoyCK6Ca5r65EK9ajNdRZT3n/iQ/vzVKwMALPXW4FTPCzw VoUR6sMg==; Original-Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:59471 helo=server.local) by gator3053.hostgator.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.87) (envelope-from ) id 1dSyuj-003r29-CB; Thu, 06 Jul 2017 00:01:17 -0500 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3053.hostgator.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-BWhitelist: no X-Source-IP: 45.48.239.195 X-Exim-ID: 1dSyuj-003r29-CB X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: cpe-45-48-239-195.socal.res.rr.com (server.local) [45.48.239.195]:59471 X-Source-Auth: lawlist X-Email-Count: 3 X-Source-Cap: bGF3bGlzdDtsYXdsaXN0O2dhdG9yMzA1My5ob3N0Z2F0b3IuY29t X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134241 Archived-At: --Multipart_Wed_Jul__5_22:01:16_2017-1 Content-Type: text/plain; charset=US-ASCII Thank you, Stefan, for taking another look at #16377. The attached `patch.diff` relates to the modified version of `primitive-undo` that I am using in-house. It applies to the latest version of the master branch (downloaded today 07/05/2017) bearing commit 7a0170de20fe1225d3eeac099d1e61a0c0410bf3. It looks like the revision for bug#25599 was applied by the Emacs team sometime after I made my revised version -- I've never tried using that revised section of code. Keith ;;;;;;;;;;;;;;;;;;;;;;; PREVIOUS MESSAGE ;;;;;;;;;;;;;;;;;;;;;; DATE: [07-05-2017 21:06:50] <06 Jul 2017 00:06:50 -0400> FROM: Stefan Monnier > > > I am presently using the following modified version of primitive-undo in my > [...] > > Please send it as a patch, so we get to see what you've changed, > I don't know about you, but I personally do not remember the current > code of primitive-undo by heart. > > > Stefan ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; --Multipart_Wed_Jul__5_22:01:16_2017-1 Content-Type: application/diff; type=patch Content-Disposition: attachment; filename="patch.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2xpc3Avc2ltcGxlLmVsIGIvbGlzcC9zaW1wbGUuZWwKaW5kZXggMWRiMTRh OC4uOWUxMzAxZiAxMDA2NDQKLS0tIGEvbGlzcC9zaW1wbGUuZWwKKysrIGIvbGlzcC9zaW1wbGUu ZWwKQEAgLTI1MTEsMTIgKzI1MTEsMTcgQEAgUmV0dXJuIHdoYXQgcmVtYWlucyBvZiB0aGUgbGlz dC4iCiAgICAgICAgIDs7IFdlIHVzZSBvbGRsaXN0IG9ubHkgdG8gY2hlY2sgZm9yIEVRLiAgKytr ZnMKICAgICAgICAgKG9sZGxpc3QgYnVmZmVyLXVuZG8tbGlzdCkKICAgICAgICAgKGRpZC1hcHBs eSBuaWwpCi0gICAgICAgIChuZXh0IG5pbCkpCisgICAgICAgIChuZXh0IG5pbCkKKyAgICAgICAg KHdpbmRvdy1vZi1jdXJyZW50LWJ1ZmZlciAoZ2V0LWJ1ZmZlci13aW5kb3cgKGN1cnJlbnQtYnVm ZmVyKSkpCisgICAgICAgIChzZWxlY3RlZC13aW5kb3cgKHNlbGVjdGVkLXdpbmRvdykpKQogICAg ICh3aGlsZSAoPiBhcmcgMCkKICAgICAgICh3aGlsZSAoc2V0cSBuZXh0IChwb3AgbGlzdCkpICAg ICA7RXhpdCBpbm5lciBsb29wIGF0IHVuZG8gYm91bmRhcnkuCiAgICAgICAgIDs7IEhhbmRsZSBh biBpbnRlZ2VyIGJ5IHNldHRpbmcgcG9pbnQgdG8gdGhhdCB2YWx1ZS4KICAgICAgICAgKHBjYXNl IG5leHQKLSAgICAgICAgICAoKHByZWQgaW50ZWdlcnApIChnb3RvLWNoYXIgbmV4dCkpCisgICAg ICAgICAgKChwcmVkIGludGVnZXJwKQorICAgICAgICAgICAgKGdvdG8tY2hhciBuZXh0KQorICAg ICAgICAgICAgICAodW5sZXNzIChlcSB3aW5kb3ctb2YtY3VycmVudC1idWZmZXIgc2VsZWN0ZWQt d2luZG93KQorICAgICAgICAgICAgICAgIChzZXQtd2luZG93LXBvaW50IHdpbmRvdy1vZi1jdXJy ZW50LWJ1ZmZlciBuZXh0KSkpCiAgICAgICAgICAgOzsgRWxlbWVudCAodCAuIFRJTUUpIHJlY29y ZHMgcHJldmlvdXMgbW9kdGltZS4KICAgICAgICAgICA7OyBQcmVzZXJ2ZSBhbnkgZmxhZyBvZiBO T05FWElTVEVOVF9NT0RUSU1FX05TRUNTIG9yCiAgICAgICAgICAgOzsgVU5LTk9XTl9NT0RUSU1F X05TRUNTLgpAQCAtMjUyNCwyOCArMjUyOSwzOSBAQCBSZXR1cm4gd2hhdCByZW1haW5zIG9mIHRo ZSBsaXN0LiIKICAgICAgICAgICAgOzsgSWYgdGhpcyByZWNvcmRzIGFuIG9ic29sZXRlIHNhdmUK ICAgICAgICAgICAgOzsgKG5vdCBtYXRjaGluZyB0aGUgYWN0dWFsIGRpc2sgZmlsZSkKICAgICAg ICAgICAgOzsgdGhlbiBkb24ndCBtYXJrIHVubW9kaWZpZWQuCi0gICAgICAgICAgICh3aGVuIChv ciAoZXF1YWwgdGltZSAodmlzaXRlZC1maWxlLW1vZHRpbWUpKQotICAgICAgICAgICAgICAgICAg ICAgKGFuZCAoY29uc3AgdGltZSkKLSAgICAgICAgICAgICAgICAgICAgICAgICAgKGVxdWFsIChs aXN0IChjYXIgdGltZSkgKGNkciB0aW1lKSkKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICh2aXNpdGVkLWZpbGUtbW9kdGltZSkpKSkKLSAgICAgICAgICAgICAod2hlbiAoZmJvdW5k cCAndW5sb2NrLWJ1ZmZlcikKLSAgICAgICAgICAgICAgICh1bmxvY2stYnVmZmVyKSkKLSAgICAg ICAgICAgICAoc2V0LWJ1ZmZlci1tb2RpZmllZC1wIG5pbCkpKQorICAgICAgICAgICAgKHdoZW4g KG9yIChlcXVhbCB0aW1lICh2aXNpdGVkLWZpbGUtbW9kdGltZSkpCisgICAgICAgICAgICAgICAg ICAgICAgKGFuZCAoY29uc3AgdGltZSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgIChlcXVh bCAobGlzdCAoY2FyIHRpbWUpIChjZHIgdGltZSkpICh2aXNpdGVkLWZpbGUtbW9kdGltZSkpKSkK KyAgICAgICAgICAgICAgKHdoZW4gKGZib3VuZHAgJ3VubG9jay1idWZmZXIpCisgICAgICAgICAg ICAgICAgKHVubG9jay1idWZmZXIpKQorICAgICAgICAgICAgICAoc2V0LWJ1ZmZlci1tb2RpZmll ZC1wIG5pbCkpKQogICAgICAgICAgIDs7IEVsZW1lbnQgKG5pbCBQUk9QIFZBTCBCRUcgLiBFTkQp IGlzIHByb3BlcnR5IGNoYW5nZS4KICAgICAgICAgICAoYChuaWwgLiAsKG9yIGAoLHByb3AgLHZh bCAsYmVnIC4gLGVuZCkgcGNhc2UtLWRvbnRjYXJlKSkKLSAgICAgICAgICAgKHdoZW4gKG9yICg+ IChwb2ludC1taW4pIGJlZykgKDwgKHBvaW50LW1heCkgZW5kKSkKLSAgICAgICAgICAgICAoZXJy b3IgIkNoYW5nZXMgdG8gYmUgdW5kb25lIGFyZSBvdXRzaWRlIHZpc2libGUgcG9ydGlvbiBvZiBi dWZmZXIiKSkKKyAgICAgICAgICAgICh3aGVuIChvciAoPiAocG9pbnQtbWluKSBiZWcpICg8IChw b2ludC1tYXgpIGVuZCkpCisgICAgICAgICAgICAgIChsZXQgKChkZWJ1Zy1vbi1xdWl0IG5pbCkK KyAgICAgICAgICAgICAgICAgICAgKG1zZyAoY29uY2F0CisgICAgICAgICAgICAgICAgICAgICAg ICAgICAidW5kby10cmVlLS1wcmltaXRpdmUtdW5kbyAoMSBvZiA0KToiCisgICAgICAgICAgICAg ICAgICAgICAgICAgICAiICAiCisgICAgICAgICAgICAgICAgICAgICAgICAgICAiQ2hhbmdlcyB0 byBiZSB1bmRvbmUgYXJlIG91dHNpZGUgdmlzaWJsZSBwb3J0aW9uIG9mIGJ1ZmZlci4iKSkpCisg ICAgICAgICAgICAgICAgKHNpZ25hbCAncXVpdCBgKCxtc2cpKSkpCiAgICAgICAgICAgIChwdXQt dGV4dC1wcm9wZXJ0eSBiZWcgZW5kIHByb3AgdmFsKSkKICAgICAgICAgICA7OyBFbGVtZW50IChC RUcgLiBFTkQpIG1lYW5zIHJhbmdlIHdhcyBpbnNlcnRlZC4KICAgICAgICAgICAoYCgsKGFuZCBi ZWcgKHByZWQgaW50ZWdlcnApKSAuICwoYW5kIGVuZCAocHJlZCBpbnRlZ2VycCkpKQogICAgICAg ICAgICA7OyAoYW5kIGAoLGJlZyAuICxlbmQpIGAoLChwcmVkIGludGVnZXJwKSAuICwocHJlZCBp bnRlZ2VycCkpKQogICAgICAgICAgICA7OyBJZGVhbGx5OiBgKCwocHJlZCBpbnRlZ2VycCBiZWcp IC4gLChwcmVkIGludGVnZXJwIGVuZCkpCi0gICAgICAgICAgICh3aGVuIChvciAoPiAocG9pbnQt bWluKSBiZWcpICg8IChwb2ludC1tYXgpIGVuZCkpCi0gICAgICAgICAgICAgKGVycm9yICJDaGFu Z2VzIHRvIGJlIHVuZG9uZSBhcmUgb3V0c2lkZSB2aXNpYmxlIHBvcnRpb24gb2YgYnVmZmVyIikp CisgICAgICAgICAgICAod2hlbiAob3IgKD4gKHBvaW50LW1pbikgYmVnKSAoPCAocG9pbnQtbWF4 KSBlbmQpKQorICAgICAgICAgICAgICAobGV0ICgoZGVidWctb24tcXVpdCBuaWwpCisgICAgICAg ICAgICAgICAgICAgIChtc2cgKGNvbmNhdAorICAgICAgICAgICAgICAgICAgICAgICAgICAgInVu ZG8tdHJlZS0tcHJpbWl0aXZlLXVuZG8gKDIgb2YgNCk6IgorICAgICAgICAgICAgICAgICAgICAg ICAgICAgIiAgIgorICAgICAgICAgICAgICAgICAgICAgICAgICAgIkNoYW5nZXMgdG8gYmUgdW5k b25lIGFyZSBvdXRzaWRlIHZpc2libGUgcG9ydGlvbiBvZiBidWZmZXIuIikpKQorICAgICAgICAg ICAgICAgIChzaWduYWwgJ3F1aXQgYCgsbXNnKSkpKQogICAgICAgICAgICA7OyBTZXQgcG9pbnQg Zmlyc3QgdGhpbmcsIHNvIHRoYXQgdW5kb2luZyB0aGlzIHVuZG8KICAgICAgICAgICAgOzsgZG9l cyBub3Qgc2VuZCBwb2ludCBiYWNrIHRvIHdoZXJlIGl0IGlzIG5vdy4KICAgICAgICAgICAgKGdv dG8tY2hhciBiZWcpCi0gICAgICAgICAgIChkZWxldGUtcmVnaW9uIGJlZyBlbmQpKQorICAgICAg ICAgICAoZGVsZXRlLXJlZ2lvbiBiZWcgZW5kKQorICAgICAgICAgICAodW5sZXNzIChlcSB3aW5k b3ctb2YtY3VycmVudC1idWZmZXIgc2VsZWN0ZWQtd2luZG93KQorICAgICAgICAgICAgIChzZXQt d2luZG93LXBvaW50IHdpbmRvdy1vZi1jdXJyZW50LWJ1ZmZlciBiZWcpKSkKICAgICAgICAgICA7 OyBFbGVtZW50IChhcHBseSBGVU4gLiBBUkdTKSBtZWFucyBjYWxsIEZVTiB0byB1bmRvLgogICAg ICAgICAgIChgKGFwcGx5IC4gLGZ1bi1hcmdzKQogICAgICAgICAgICAobGV0ICgoY3VycmJ1ZmYg KGN1cnJlbnQtYnVmZmVyKSkpCkBAIC0yNTU0LDggKzI1NzAsMTMgQEAgUmV0dXJuIHdoYXQgcmVt YWlucyBvZiB0aGUgbGlzdC4iCiAgICAgICAgICAgICAgICAgIChwY2FzZS1sZXQqICgoYCgsZGVs dGEgLHN0YXJ0ICxlbmQgLGZ1biAuICxhcmdzKSBmdW4tYXJncykKICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIChzdGFydC1tYXJrIChjb3B5LW1hcmtlciBzdGFydCBuaWwpKQogICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgKGVuZC1tYXJrIChjb3B5LW1hcmtlciBlbmQgdCkpKQot ICAgICAgICAgICAgICAgICAgICh3aGVuIChvciAoPiAocG9pbnQtbWluKSBzdGFydCkgKDwgKHBv aW50LW1heCkgZW5kKSkKLSAgICAgICAgICAgICAgICAgICAgIChlcnJvciAiQ2hhbmdlcyB0byBi ZSB1bmRvbmUgYXJlIG91dHNpZGUgdmlzaWJsZSBwb3J0aW9uIG9mIGJ1ZmZlciIpKQorICAgICAg ICAgICAgICAgICAgICAod2hlbiAob3IgKD4gKHBvaW50LW1pbikgc3RhcnQpICg8IChwb2ludC1t YXgpIGVuZCkpCisgICAgICAgICAgICAgIChsZXQgKChkZWJ1Zy1vbi1xdWl0IG5pbCkKKyAgICAg ICAgICAgICAgICAgICAgKG1zZyAoY29uY2F0CisgICAgICAgICAgICAgICAgICAgICAgICAgICAi dW5kby10cmVlLS1wcmltaXRpdmUtdW5kbyAoMyBvZiA0KToiCisgICAgICAgICAgICAgICAgICAg ICAgICAgICAiICAiCisgICAgICAgICAgICAgICAgICAgICAgICAgICAiQ2hhbmdlcyB0byBiZSB1 bmRvbmUgYXJlIG91dHNpZGUgdmlzaWJsZSBwb3J0aW9uIG9mIGJ1ZmZlci4iKSkpCisgICAgICAg ICAgICAgICAgKHNpZ25hbCAncXVpdCBgKCxtc2cpKSkpCiAgICAgICAgICAgICAgICAgICAgKGFw cGx5IGZ1biBhcmdzKSA7OyBVc2UgYHNhdmUtY3VycmVudC1idWZmZXInPwogICAgICAgICAgICAg ICAgICAgIDs7IENoZWNrIHRoYXQgdGhlIGZ1bmN0aW9uIGRpZCB3aGF0IHRoZSBlbnRyeQogICAg ICAgICAgICAgICAgICAgIDs7IHNhaWQgaXQgd291bGQgZG8uCkBAIC0yNTcxLDggKzI1OTIsMTMg QEAgUmV0dXJuIHdoYXQgcmVtYWlucyBvZiB0aGUgbGlzdC4iCiAgICAgICAgICAgOzsgRWxlbWVu dCAoU1RSSU5HIC4gUE9TKSBtZWFucyBTVFJJTkcgd2FzIGRlbGV0ZWQuCiAgICAgICAgICAgKGAo LChhbmQgc3RyaW5nIChwcmVkIHN0cmluZ3ApKSAuICwoYW5kIHBvcyAocHJlZCBpbnRlZ2VycCkp KQogICAgICAgICAgICAod2hlbiAobGV0ICgoYXBvcyAoYWJzIHBvcykpKQotICAgICAgICAgICAg ICAgICAgIChvciAoPCBhcG9zIChwb2ludC1taW4pKSAoPiBhcG9zIChwb2ludC1tYXgpKSkpCi0g ICAgICAgICAgICAgKGVycm9yICJDaGFuZ2VzIHRvIGJlIHVuZG9uZSBhcmUgb3V0c2lkZSB2aXNp YmxlIHBvcnRpb24gb2YgYnVmZmVyIikpCisgICAgICAgICAgICAgICAgICAgIChvciAoPCBhcG9z IChwb2ludC1taW4pKSAoPiBhcG9zIChwb2ludC1tYXgpKSkpCisgICAgICAgICAgICAgIChsZXQg KChkZWJ1Zy1vbi1xdWl0IG5pbCkKKyAgICAgICAgICAgICAgICAgICAgKG1zZyAoY29uY2F0Cisg ICAgICAgICAgICAgICAgICAgICAgICAgICAidW5kby10cmVlLS1wcmltaXRpdmUtdW5kbyAoNCBv ZiA0KToiCisgICAgICAgICAgICAgICAgICAgICAgICAgICAiICAiCisgICAgICAgICAgICAgICAg ICAgICAgICAgICAiQ2hhbmdlcyB0byBiZSB1bmRvbmUgYXJlIG91dHNpZGUgdmlzaWJsZSBwb3J0 aW9uIG9mIGJ1ZmZlci4iKSkpCisgICAgICAgICAgICAgICAgKHNpZ25hbCAncXVpdCBgKCxtc2cp KSkpCiAgICAgICAgICAgIChsZXQgKHZhbGlkLW1hcmtlci1hZGp1c3RtZW50cykKICAgICAgICAg ICAgICA7OyBDaGVjayB0aGF0IG1hcmtlciBhZGp1c3RtZW50cyB3aGljaCB3ZXJlIHJlY29yZGVk CiAgICAgICAgICAgICAgOzsgd2l0aCB0aGUgKFNUUklORyAuIFBPUykgcmVjb3JkIGFyZSBzdGls bCB2YWxpZCwgaWUKQEAgLTI1OTQsMTggKzI2MjAsMjAgQEAgUmV0dXJuIHdoYXQgcmVtYWlucyBv ZiB0aGUgbGlzdC4iCiAgICAgICAgICAgICAgICAoZ290by1jaGFyIHBvcykKICAgICAgICAgICAg ICAgIChpbnNlcnQgc3RyaW5nKQogICAgICAgICAgICAgICAgKGdvdG8tY2hhciBwb3MpKQorICAg ICAgICAgICAgICh1bmxlc3MgKGVxIHdpbmRvdy1vZi1jdXJyZW50LWJ1ZmZlciBzZWxlY3RlZC13 aW5kb3cpCisgICAgICAgICAgICAgICAoc2V0LXdpbmRvdy1wb2ludCB3aW5kb3ctb2YtY3VycmVu dC1idWZmZXIgcG9zKSkKICAgICAgICAgICAgICA7OyBBZGp1c3QgdGhlIHZhbGlkIG1hcmtlciBh ZGp1c3RtZW50cwogICAgICAgICAgICAgIChkb2xpc3QgKGFkaiB2YWxpZC1tYXJrZXItYWRqdXN0 bWVudHMpCi0gICAgICAgICAgICAgICA7OyBJbnNlcnQgbWlnaHQgaGF2ZSBpbnZhbGlkYXRlZCBz b21lIG9mIHRoZSBtYXJrZXJzCi0gICAgICAgICAgICAgICA7OyB2aWEgbW9kaWZpY2F0aW9uIGhv b2tzLiAgVXBkYXRlIG9ubHkgdGhlIGN1cnJlbnRseQotICAgICAgICAgICAgICAgOzsgdmFsaWQg b25lcyAoYnVnIzI1NTk5KS4KLSAgICAgICAgICAgICAgIChpZiAobWFya2VyLWJ1ZmZlciAoY2Fy IGFkaikpCi0gICAgICAgICAgICAgICAgICAgKHNldC1tYXJrZXIgKGNhciBhZGopCi0gICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgKC0gKGNhciBhZGopIChjZHIgYWRqKSkpKSkpKQorICAg ICAgICAgICAgICAgKHNldC1tYXJrZXIgKGNhciBhZGopCisgICAgICAgICAgICAgICAgICAgICAg ICAgICAoLSAoY2FyIGFkaikgKGNkciBhZGopKSkpKSkKICAgICAgICAgICA7OyAoTUFSS0VSIC4g T0ZGU0VUKSBtZWFucyBhIG1hcmtlciBNQVJLRVIgd2FzIGFkanVzdGVkIGJ5IE9GRlNFVC4KICAg ICAgICAgICAoYCgsKGFuZCBtYXJrZXIgKHByZWQgbWFya2VycCkpIC4gLChhbmQgb2Zmc2V0IChw cmVkIGludGVnZXJwKSkpCi0gICAgICAgICAgICh3YXJuICJFbmNvdW50ZXJlZCAlUyBlbnRyeSBp biB1bmRvIGxpc3Qgd2l0aCBubyBtYXRjaGluZyAoVEVYVCAuIFBPUykgZW50cnkiCi0gICAgICAg ICAgICAgICAgIG5leHQpCisgICAgICAgICAgICAobGV0ICgobXNnCisgICAgICAgICAgICAgICAg ICAgIChjb25jYXQKKyAgICAgICAgICAgICAgICAgICAgICAidW5kby10cmVlLS1wcmltaXRpdmUt dW5kbzogICIKKyAgICAgICAgICAgICAgICAgICAgICAoZm9ybWF0ICJFbmNvdW50ZXJlZCAlUyBl bnRyeSBpbiB1bmRvIGxpc3Qgd2l0aCBubyBtYXRjaGluZyAoVEVYVCAuIFBPUykgZW50cnkiCisg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBuZXh0KSkpKQorICAgICAgICAgICAgICAobWVz c2FnZSBtc2cpKQogICAgICAgICAgICA7OyBFdmVuIHRob3VnaCB0aGVzZSBlbGVtZW50cyBhcmUg bm90IGV4cGVjdGVkIGluIHRoZSB1bmRvCiAgICAgICAgICAgIDs7IGxpc3QsIGFkanVzdCB0aGVt IHRvIGJlIGNvbnNlcnZhdGl2ZSBmb3IgdGhlIDI0LjQKICAgICAgICAgICAgOzsgcmVsZWFzZS4g IChCdWcjMTY4MTgpCkBAIC0yNjEzLDcgKzI2NDEsMTAgQEAgUmV0dXJuIHdoYXQgcmVtYWlucyBv ZiB0aGUgbGlzdC4iCiAgICAgICAgICAgICAgKHNldC1tYXJrZXIgbWFya2VyCiAgICAgICAgICAg ICAgICAgICAgICAgICAgKC0gbWFya2VyIG9mZnNldCkKICAgICAgICAgICAgICAgICAgICAgICAg ICAobWFya2VyLWJ1ZmZlciBtYXJrZXIpKSkpCi0gICAgICAgICAgKF8gKGVycm9yICJVbnJlY29n bml6ZWQgZW50cnkgaW4gdW5kbyBsaXN0ICVTIiBuZXh0KSkpKQorICAgICAgICAgIChfCisgICAg ICAgICAgICAoaWYgKGVxIG5leHQgJ3VuZG8tdHJlZS1jYW5hcnkpCisgICAgICAgICAgICAgICht ZXNzYWdlICJ1bmRvLXRyZWUtLXByaW1pdGl2ZS11bmRvOiAgY2F0Y2gtYWxsIGZvdW5kIGAlcycu IiBuZXh0KQorICAgICAgICAgICAgICAoZXJyb3IgIlVucmVjb2duaXplZCBlbnRyeSBpbiB1bmRv IGxpc3QgJVMiIG5leHQpKSkpKQogICAgICAgKHNldHEgYXJnICgxLSBhcmcpKSkKICAgICA7OyBN YWtlIHN1cmUgYW4gYXBwbHkgZW50cnkgcHJvZHVjZXMgYXQgbGVhc3Qgb25lIHVuZG8gZW50cnks CiAgICAgOzsgc28gdGhlIHRlc3QgaW4gYHVuZG8nIGZvciBjb250aW51aW5nIGFuIHVuZG8gc2Vy aWVzCg== --Multipart_Wed_Jul__5_22:01:16_2017-1--