diff options
| author | forsyth <forsyth@vitanuova.com> | 2009-07-17 17:31:32 +0100 |
|---|---|---|
| committer | forsyth <forsyth@vitanuova.com> | 2009-07-17 17:31:32 +0100 |
| commit | 3293d1240801e46dd9cc27f6ba1133bc2b1d22e1 (patch) | |
| tree | 84602d17a931f149cdb1f3b90dfd16aca0a27d44 | |
| parent | a3b744b4ba351c8c7bb51ccc13c60594e073b321 (diff) | |
20090717-1731
| -rw-r--r-- | CHANGES | 4 | ||||
| -rw-r--r-- | appl/lib/ip.b | 4 | ||||
| -rw-r--r-- | dis/lib/ip.dis | bin | 9971 -> 9958 bytes | |||
| -rw-r--r-- | include/version.h | 2 |
4 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,7 @@ +20090717 + fix appl/lib/ip.b (see issue 186) [mjl] +20090716 + add segflush calls to comp-386.c [probably need different name eventually to avoid time wasting when not needed] 20090630 add sig (see man(1)) [via p9p and caerwyn] 20090627 diff --git a/appl/lib/ip.b b/appl/lib/ip.b index 49dfdb0a..a3f807ad 100644 --- a/appl/lib/ip.b +++ b/appl/lib/ip.b @@ -66,7 +66,7 @@ init() IPaddr.newv6(a: array of byte): IPaddr { - b := array[len a] of byte; + b := array[IPaddrlen] of byte; b[0:] = a[0:IPaddrlen]; return IPaddr(b); } @@ -83,7 +83,7 @@ IPaddr.copy(ip: self IPaddr): IPaddr { if(ip.a == nil) return noaddr.copy(); - a := array[len ip.a] of byte; + a := array[IPaddrlen] of byte; a[0:] = ip.a; return IPaddr(a); } diff --git a/dis/lib/ip.dis b/dis/lib/ip.dis Binary files differindex d099903c..01083703 100644 --- a/dis/lib/ip.dis +++ b/dis/lib/ip.dis diff --git a/include/version.h b/include/version.h index bb695905..a408863f 100644 --- a/include/version.h +++ b/include/version.h @@ -1 +1 @@ -#define VERSION "Fourth Edition (20090630)" +#define VERSION "Fourth Edition (20090717)" |
