Introduction
Introduction Statistics Contact Development Disclaimer Help
tbug fix from lucho - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit d24aad8fd74f6b3fb6fab8eb9ee4e4cf0d6a3a40
parent 3e1960ce9ea541b4bb70509c7b1915e88bfe69ed
Author: rsc <devnull@localhost>
Date: Sun, 20 Feb 2005 22:51:24 +0000
bug fix from lucho
Diffstat:
M src/cmd/vac/vac.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c
t@@ -686,9 +686,8 @@ vacmerge(DirSink *dsink, char *lname, char *sname)
VacDir dir;
uvlong max;
- p = strrchr(sname, '.');
- if(p == 0 || strcmp(p, ".vac"))
- return 0;
+ if((p=strrchr(sname, '.') == nil || strcmp(p, ".vac") != 0)
+ return -1;
d = nil;
fs = vacfsopen(dsink->sink->z, sname, VtOREAD, 100);
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.