shithub: riscv

Download patch

ref: 92f22e7b5a6e2050de93ab11ecd2320b72eb9721
parent: 0089c44663e00e899375dd386f5c760eec0745a6
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Sat Sep 17 01:21:19 EDT 2011

tapefs: case insensitive walks

--- a/sys/src/cmd/tapefs/fs.c
+++ b/sys/src/cmd/tapefs/fs.c
@@ -263,7 +263,7 @@
 			if(!dir->replete)
 				popdir(dir);
 			for(r=dir->child; r; r=r->next)
-				if(r->busy && strcmp(name, r->name)==0)
+				if(r->busy && cistrcmp(name, r->name)==0)
 					goto Accept;
 			break;	/* file not found */
 		}