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kys7DQogc3ByaW50ZihUbXBGaWxlTmFtZSwgIiVzLm5ldyIsIEZpbGVOYW1lKTsNCiBmZCA9IG9w
ZW4oVG1wRmlsZU5hbWUsIE9fQ1JFQVR8T19XUk9OTFksIDA2NjYpOw0KIGlmIChmZCA8IDApIHsN
CiAgcGVycm9yKCJvcGVuIG5ldyIpOw0KICBwcmludGYoIlRlc3QgY291bnQgaXMgJWRcbiIsIFRl
c3RDb3VudCk7DQogIHByaW50ZiAoImlub2RlIG9mICVzIGlzICVsbGRcbiIsIFRtcEZpbGVOYW1l
LCBGaWxlSU5vZGUoVG1wRmlsZU5hbWUpKTsNCiAgZXhpdCgxKTsNCiB9DQogZm9yIChpID0gMDsg
aSA8IDEwOyBpKyspIHsNCiAgY2hhciBCdWZmZXJbMTAwXTsNCiAgc3ByaW50ZihCdWZmZXIsICJ0
aGlzIGlzIGxpbmUgJWRcbiIsIGkgKyAxKTsNCiAgd3JpdGUoZmQsIEJ1ZmZlciwgc3RybGVuKEJ1
ZmZlcikpOw0KIH0NCiBjbG9zZSAoZmQpOw0KIHJlbmFtZShUbXBGaWxlTmFtZSwgRmlsZU5hbWUp
Ow0KfQ0KDQovLyB5b3Uga25vdyB0aGF0DQppbnQgbWFpbih2b2lkKQ0Kew0KIEJpbmRTb2NrZXQo
KTsNCiANCiBmb3IgKDs7KSB7DQogIFRlc3RGaWxlKCIvbW50L3lhZmZzL3J1c3NlbGxfbm9ybWFs
Iik7DQogfQ0KIHJldHVybiAwOw0KDQp9DQo=
---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by
sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe"
(without the quotes) as the subject.