mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
bug fix from lucho
This commit is contained in:
parent
3e1960ce9e
commit
d24aad8fd7
1 changed files with 2 additions and 3 deletions
|
@ -686,9 +686,8 @@ vacmerge(DirSink *dsink, char *lname, char *sname)
|
||||||
VacDir dir;
|
VacDir dir;
|
||||||
uvlong max;
|
uvlong max;
|
||||||
|
|
||||||
p = strrchr(sname, '.');
|
if((p=strrchr(sname, '.') == nil || strcmp(p, ".vac") != 0)
|
||||||
if(p == 0 || strcmp(p, ".vac"))
|
return -1;
|
||||||
return 0;
|
|
||||||
|
|
||||||
d = nil;
|
d = nil;
|
||||||
fs = vacfsopen(dsink->sink->z, sname, VtOREAD, 100);
|
fs = vacfsopen(dsink->sink->z, sname, VtOREAD, 100);
|
||||||
|
|
Loading…
Reference in a new issue