Date: Tue, 2 Sep 2003 03:52:05 -0700 (PDT) From: Doug Barton <DougB@FreeBSD.org> To: freebsd-current@freebsd.org Subject: savecore "check for a dump" patch for review Message-ID: <20030902031754.J6074@znfgre.qbhto.arg>
next in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1017980439-1062497920=:6074 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: <20030902035125.B6074@znfgre.qbhto.arg> I'm sure there's lots of errors, so be gentle. :) It does work though, so that's a plus. Doug -- This .signature sanitized for your protection --0-1017980439-1062497920=:6074 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="savecore-check.diff" Content-Transfer-Encoding: BASE64 Content-ID: <20030902031840.C6074@znfgre.qbhto.arg> Content-Description: Content-Disposition: ATTACHMENT; FILENAME="savecore-check.diff" SW5kZXg6IHNhdmVjb3JlLjgNCj09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJD UyBmaWxlOiAvdXNyL2xvY2FsL25jdnMvc3JjL3NiaW4vc2F2ZWNvcmUvc2F2 ZWNvcmUuOCx2DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMTkNCmRpZmYgLXUg LXIxLjE5IHNhdmVjb3JlLjgNCi0tLSBzYXZlY29yZS44CTIxIEF1ZyAyMDAy IDE4OjExOjQyIC0wMDAwCTEuMTkNCisrKyBzYXZlY29yZS44CTIgU2VwIDIw MDMgMTA6MTE6MDQgLTAwMDANCkBAIC00Miw2ICs0MiwxMCBAQA0KIC5ObQ0K IC5GbCBjDQogLk5tDQorLkZsIEMNCisuT3AgRmwgdg0KKy5PcCBBciBkaXJl Y3RvcnkgZGV2aWNlDQorLk5tDQogLk9wIEZsIGZrdnoNCiAuT3AgQXIgZGly ZWN0b3J5IE9wIEFyIGRldmljZSAuLi4NCiAuU2ggREVT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Rma046dnoiKSkgIT0gLTEpDQor CXdoaWxlICgoY2ggPSBnZXRvcHQoYXJnYywgYXJndiwgIkNjZGZrTjp2eiIp KSAhPSAtMSkNCiAJCXN3aXRjaChjaCkgew0KKwkJY2FzZSAnQyc6DQorCQkJ Y2hlY2tmb3IgPSAxOw0KKwkJCWJyZWFrOw0KIAkJY2FzZSAnYyc6DQogCQkJ Y2xlYXIgPSAxOw0KIAkJCWJyZWFrOw0KQEAgLTUxOSw2ICs1MjgsOCBAQA0K IAkJZGVmYXVsdDoNCiAJCQl1c2FnZSgpOw0KIAkJfQ0KKwlpZiAoY2hlY2tm b3IgJiYgKGNsZWFyIHx8IGZvcmNlIHx8IGtlZXApKQ0KKwkJdXNhZ2UoKTsN CiAJYXJnYyAtPSBvcHRpbmQ7DQogCWFyZ3YgKz0gb3B0aW5kOw0KIAlpZiAo YXJnYyA+PSAxKSB7DQpAQCAtNTQ3LDggKzU1OCwxMyBAQA0KIAl9DQogDQog CS8qIEVtaXQgbWluaW1hbCBvdXRwdXQuICovDQotCWlmIChuZm91bmQgPT0g MCkNCisJaWYgKG5mb3VuZCA9PSAwKSB7DQorCQlpZiAoY2hlY2tmb3IpIHsN CisJCQlwcmludGYoIk5vIGR1bXAgZXhpc3RzXG4iKTsNCisJCQlleGl0KDEp Ow0KKwkJfQ0KIAkJc3lzbG9nKExPR19XQVJOSU5HLCAibm8gZHVtcHMgZm91 bmQiKTsNCisJfQ0KIAllbHNlIGlmIChuc2F2ZWQgPT0gMCkgew0KIAkJaWYg KG5lcnIgIT0gMCkNCiAJCQlzeXNsb2coTE9HX1dBUk5JTkcsICJ1bnNhdmVk IGR1bXBzIGZvdW5kIGJ1dCBub3Qgc2F2ZWQiKTsNCg== --0-1017980439-1062497920=:6074--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030902031754.J6074>