sunos
This commit is contained in:
parent
268d64df84
commit
edefa2492c
2 changed files with 2 additions and 2 deletions
|
|
@ -472,7 +472,7 @@ vacstdin(DirSink *dsink, char *name, VacFile *vf)
|
||||||
static int
|
static int
|
||||||
sha1check(u8int *score, uchar *buf, int n)
|
sha1check(u8int *score, uchar *buf, int n)
|
||||||
{
|
{
|
||||||
char score2[VtScoreSize];
|
uchar score2[VtScoreSize];
|
||||||
|
|
||||||
sha1(buf, n, score2, nil);
|
sha1(buf, n, score2, nil);
|
||||||
if(memcmp(score, score2, VtScoreSize) == 0)
|
if(memcmp(score, score2, VtScoreSize) == 0)
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@ initfcalls(void)
|
||||||
fcalls[Tremove]= rremove;
|
fcalls[Tremove]= rremove;
|
||||||
fcalls[Tstat]= rstat;
|
fcalls[Tstat]= rstat;
|
||||||
fcalls[Twstat]= rwstat;
|
fcalls[Twstat]= rwstat;
|
||||||
};
|
}
|
||||||
|
|
||||||
char Eperm[] = "permission denied";
|
char Eperm[] = "permission denied";
|
||||||
char Enotdir[] = "not a directory";
|
char Enotdir[] = "not a directory";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue