help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Patches against master


From: Tony Garnock-Jones
Subject: [Help-smalltalk] Patches against master
Date: Tue, 01 Jul 2008 07:25:28 +0100
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)

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 <address@hidden>
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 <address@hidden>
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]