tsunos - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit edefa2492cba628819c73b20aa5c2305fde5ca5e
DIR parent 268d64df84f502cbfa21ed225c107c01dc310d44
HTML Author: rsc <devnull@localhost>
Date: Tue, 15 Mar 2005 20:27:59 +0000
sunos
Diffstat:
M src/cmd/vac/vac.c | 2 +-
M src/cmd/vac/vacfs.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c
t@@ -472,7 +472,7 @@ vacstdin(DirSink *dsink, char *name, VacFile *vf)
static int
sha1check(u8int *score, uchar *buf, int n)
{
- char score2[VtScoreSize];
+ uchar score2[VtScoreSize];
sha1(buf, n, score2, nil);
if(memcmp(score, score2, VtScoreSize) == 0)
DIR diff --git a/src/cmd/vac/vacfs.c b/src/cmd/vac/vacfs.c
t@@ -104,7 +104,7 @@ initfcalls(void)
fcalls[Tremove]= rremove;
fcalls[Tstat]= rstat;
fcalls[Twstat]= rwstat;
-};
+}
char Eperm[] = "permission denied";
char Enotdir[] = "not a directory";