Patches against master

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Patches against master

Tony Garnock-Jones-2
I'm having trouble with git-send-email, so here are the patch files from
git-format-patch instead.

Tony

From 2f90e37b430c89004b66d612e9a941b9df67029a Mon Sep 17 00:00:00 2001
From: Tony Garnock-Jones <[hidden email]>
Date: Tue, 1 Jul 2008 06:50:46 +0100
Subject: [PATCH] CCallback.st was missing from packages.xml

---
 packages.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/packages.xml b/packages.xml
index 4d24390..6ba9aef 100644
--- a/packages.xml
+++ b/packages.xml
@@ -138,6 +138,7 @@
   <file>Security.st</file>
   <file>OrderColl.st</file>
   <file>CCallable.st</file>
+  <file>CCallback.st</file>
   <file>CFuncs.st</file>
   <file>Float.st</file>
   <file>PkgLoader.st</file>
--
1.5.3.7


From 2aa26175a1c8b1427c017a71a7ca5b1cd20e418d Mon Sep 17 00:00:00 2001
From: Tony Garnock-Jones <[hidden email]>
Date: Tue, 1 Jul 2008 06:55:46 +0100
Subject: [PATCH] Fix a bootstrapping bug by correcting a selector from
 primReplaceFrom:to:with:startingAt: to replaceFrom:to:with:startingAt:
 on LargeInt's use of ByteArrays.

---
 kernel/LargeInt.st |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/LargeInt.st b/kernel/LargeInt.st
index d346d2e..6d76b31 100644
--- a/kernel/LargeInt.st
+++ b/kernel/LargeInt.st
@@ -743,7 +743,7 @@ to speed them up a bit.'>
  | bytes |
  bytes := ByteArray new: self size + 1.
  bytes
-    primReplaceFrom: 1
+    replaceFrom: 1
     to: self size
     with: self
     startingAt: 1.
@@ -1487,7 +1487,7 @@ precision arithmetic.'>
  the real quotient is guess - 1 or guess - 2.  Multiply the divisor by the
  guess and compare the result with the dividend."
  sub
-    primReplaceFrom: 1
+    replaceFrom: 1
     to: sub size
     with: v
     startingAt: 1.
--
1.5.3.7


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Patches against master

Paolo Bonzini-2
Tony Garnock-Jones wrote:
> I'm having trouble with git-send-email, so here are the patch files from
> git-format-patch instead.

No problem, applied now.

Can you describe what this one does:

 From 2aa26175a1c8b1427c017a71a7ca5b1cd20e418d Mon Sep 17 00:00:00 2001
From: Tony Garnock-Jones <[hidden email]>
Date: Tue, 1 Jul 2008 06:55:46 +0100
Subject: [PATCH] Fix a bootstrapping bug by correcting a selector from
  primReplaceFrom:to:with:startingAt: to replaceFrom:to:with:startingAt:
  on LargeInt's use of ByteArrays.


I applied it but I'd like to know/understand if it also applies to 3.0.x.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk