[Mono-list] [PATCH] BitVector32

Andrew Birkett adb@tardis.ed.ac.uk
Fri, 5 Jul 2002 14:23:30 +0100 (BST)


  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.

---559023410-1903590565-1025875410=:7072
Content-Type: TEXT/PLAIN; charset=US-ASCII

On 4 Jul 2002, Miguel de Icaza wrote:

>    Could you repost your patch to the test directory for BitVector32, as
> it seems that CR/LF problems made your patch not apply.

I've redone the patch (attached), and checked it applies under both cygwin
and solaris.

If I had a time machine, I'd take a big stick back in time and get
everyone to use the same form of line terminators.  And the same path
seperator character.  And get everyone to agree on case sensitive vs.
insensitive too.  *grumble*

Andrew

- www.tardis.ed.ac.uk/~adb -

---559023410-1903590565-1025875410=:7072
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=bvtest
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GS4.4.33.0207051423300.7072@davros.tardis.ed.ac.uk>
Content-Description: BitVector32Test.cs patch
Content-Disposition: attachment; filename=bvtest

SW5kZXg6IEJpdFZlY3RvcjMyVGVzdC5jcw0KPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PQ0KUkNTIGZpbGU6IC9tb25vL21jcy9jbGFzcy9TeXN0ZW0vVGVzdC9T
eXN0ZW0uQ29sbGVjdGlvbnMuU3BlY2lhbGl6ZWQvQml0VmVjdG9yMzJUZXN0
LmNzLHYNCnJldHJpZXZpbmcgcmV2aXNpb24gMS4xDQpkaWZmIC11IC1yMS4x
IEJpdFZlY3RvcjMyVGVzdC5jcw0KLS0tIEJpdFZlY3RvcjMyVGVzdC5jcwk5
IE1heSAyMDAyIDIwOjA1OjMzIC0wMDAwCTEuMQ0KKysrIEJpdFZlY3RvcjMy
VGVzdC5jcwk1IEp1bCAyMDAyIDEwOjM2OjIxIC0wMDAwDQpAQCAtNTUsMTcg
KzU1LDExIEB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ICAgICAgICAgICAgYiA9IG5ldyBCaXRWZWN0b3Iz
MigpOw0NCisgICAgICAgICAgICAgICAgICAgICAgICBiW3MwXzFdID0gMzsN
DQorICAgICAgICAgICAgICAJICAgICAgICBBc3NlcnRFcXVhbHMgKCIjMmEi
LCAweDMsIGIuRGF0YSk7DQ0KKw0NCisgICAgICAgICAgICAgICAgICAgICAg
ICBiID0gbmV3IEJpdFZlY3RvcjMyKCk7DQ0KKyAgICAgICAgICAgICAgICAg
ICAgICAgIGJbczJfMTVdID0gMTYzODQ7DQ0KKyAgICAgICAgICAgICAgCSAg
ICAgICAgQXNzZXJ0RXF1YWxzICgiIzJiIiwgMTYzODQgPDwgMiwgYi5EYXRh
KTsNDQorDQ0KKyAgICAgICAgICAgICAgICAgICAgICAgIGIgPSBuZXcgQml0
VmVjdG9yMzIoKTsNDQorICAgICAgICAgICAgICAgICAgICAgICAgYltzMTZf
MzBdID0gMzI3Njg7DQ0KKyAgICAgICAgICAgICAgCSAgICAgICAgQXNzZXJ0
RXF1YWxzICgiIzJjIiwgMzI3NjggPDwgMTYsIGIuRGF0YSk7DQ0KKw0NCisg
ICAgICAgICAgICAgICAgICAgICAgICBiID0gbmV3IEJpdFZlY3RvcjMyKCk7
DQ0KKyAgICAgICAgICAgICAgICAgICAgICAgIGJbczMxXzMxXSA9IDE7DQ0K
KyAgICAgICAgICAgICAgCSAgICAgICAgQXNzZXJ0RXF1YWxzICgiIzJkIiwg
MSA8PCAzMSwgYi5EYXRhKTsNDQorICAgICAgICAgICAgICAgIH0NDQorDQ0K
KyAgICAgICAgICAgICAgICBwdWJsaWMgdm9pZCBUZXN0QmFkU2VjdGlvbnMo
KSB7DQ0KKyAgICAgICAgICAgICAgICAgICAgICAgIC8vIENhbid0IGNyZWF0
ZSBtb3JlIHRoYW4gMzIgYml0cyBvZiBzZWN0aW9ucy4NDQorICAgICAgICAg
ICAgICAgICAgICAgICAgQml0VmVjdG9yMzIuU2VjdGlvbiBzMF8xNCA9IEJp
dFZlY3RvcjMyLkNyZWF0ZVNlY3Rpb24oMzI3NjcpOw0NCisgICAgICAgICAg
ICAgICAgICAgICAgICBCaXRWZWN0b3IzMi5TZWN0aW9uIHMxNV8yOSA9IEJp
dFZlY3RvcjMyLkNyZWF0ZVNlY3Rpb24oMzI3NjcsIHMwXzE0KTsNDQorICAg
ICAgICAgICAgICAgICAgICAgICAgdHJ5IHsNDQorICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICBCaXRWZWN0b3IzMi5TZWN0aW9uIHMzMF8zMiA9
IEJpdFZlY3RvcjMyLkNyZWF0ZVNlY3Rpb24oNywgczE1XzI5KTsNDQorICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBGYWlsKCIjMSIpOyAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICANDQorICAgICAgICAgICAgICAg
ICAgICAgICAgfSBjYXRjaCAoQXJndW1lbnRFeGNlcHRpb24gZSkgeyB9DQ0K
KyAgICAgICAgICAgICAgICB9DQ0KIA0NCiAJCXByaXZhdGUgdm9pZCBQcmlu
dCAoQml0VmVjdG9yMzIuU2VjdGlvbiBzKQ0NCiAJCXsNDQo=
---559023410-1903590565-1025875410=:7072--