diff options
| author | Charles.Forsyth <devnull@localhost> | 2008-01-16 13:39:58 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2008-01-16 13:39:58 +0000 |
| commit | 3f1f06c5d12b24c4061e5123acabf72348ff45a2 (patch) | |
| tree | d40487b0f5d3a46c5e1cefe288f9a74b8494d9a7 /appl/cmd/tail.b | |
| parent | ca1042d3d05e5e9b2b5094b04197c96ec3b34bfe (diff) | |
20080116-1340
Diffstat (limited to 'appl/cmd/tail.b')
| -rw-r--r-- | appl/cmd/tail.b | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appl/cmd/tail.b b/appl/cmd/tail.b index 07d900d1..af438296 100644 --- a/appl/cmd/tail.b +++ b/appl/cmd/tail.b @@ -57,7 +57,7 @@ init(nil: ref Draw->Context, argv: list of string) else { if((file=sys->open(hd argv,sys->OREAD)) == nil ) fatal(hd argv); - (ok, stat) := sys->fstat(file); + (nil, stat) := sys->fstat(file); seekable = sys->seek(file,big 0,sys->SEEKSTART) == big 0 && stat.length > big 0; } @@ -99,7 +99,7 @@ init(nil: ref Draw->Context, argv: list of string) trunc(length : big) : sys->Dir { - (i,d):=sys->fstat(file); + (nil,d):=sys->fstat(file); if(d.length < length) d.length = tseek(big 0, sys->SEEKSTART); return d; |
