[Mono-list] Diff for someone to approve and apply
bucky@phantom.keystreams.com
bucky@phantom.keystreams.com
Fri, 8 Feb 2002 13:15:24 -0800 (PST)
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.
--8323328-384888462-1013202924=:19299
Content-Type: TEXT/PLAIN; charset=US-ASCII
Attached are changes for
'mcs/class/corlib/Test/System.Resources/ResourceReaderTest.cs'.
The changes take care of a few errors and failures when running 'make
test'.
I don't have CVS write access, so could somebody check this over, and, if
it looks good, apply it?
Thanks,
David
--8323328-384888462-1013202924=:19299
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="ResourceReaderTest.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.21.0202081315240.19299@phantom.keystreams.com>
Content-Description: ResourceReaderTest.diff
Content-Disposition: attachment; filename="ResourceReaderTest.diff"
PyBmaWxlLmRpZmYNCkluZGV4OiBSZXNvdXJjZVJlYWRlclRlc3QuY3MNCj09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxlOiAvbW9uby9tY3MvY2xh
c3MvY29ybGliL1Rlc3QvU3lzdGVtLlJlc291cmNlcy9SZXNvdXJjZVJlYWRl
clRlc3QuY3Msdg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjMNCmRpZmYgLXUg
LXIxLjMgUmVzb3VyY2VSZWFkZXJUZXN0LmNzDQotLS0gUmVzb3VyY2VSZWFk
ZXJUZXN0LmNzCTI1IEphbiAyMDAyIDExOjQ5OjU5IC0wMDAwCTEuMw0KKysr
IFJlc291cmNlUmVhZGVyVGVzdC5jcwk4IEZlYiAyMDAyIDIxOjAyOjUzIC0w
MDAwDQpAQCAtMzQsNiArMzQsMzEgQEANCiAJCXByb3RlY3RlZCBvdmVycmlk
ZSB2b2lkIFNldFVwKCkgew0NCiAJCX0NDQogDQ0KKwkJcHJpdm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