patch-2.1.121 linux/fs/isofs/inode.c
Next file: linux/fs/nfs/dir.c
Previous file: linux/fs/inode.c
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Sun Sep 6 10:10:47 1998
- Orig file:
v2.1.120/linux/fs/isofs/inode.c
- Orig date:
Sat Sep 5 16:46:41 1998
diff -u --recursive --new-file v2.1.120/linux/fs/isofs/inode.c linux/fs/isofs/inode.c
@@ -128,30 +128,6 @@
unsigned char utf8;
};
-static int strnicmp(const char *s1, const char *s2, int len)
-{
- /* Yes, Virginia, it had better be unsigned */
- unsigned char c1, c2;
-
- c1 = 0; c2 = 0;
- while (len > 0) {
- c1 = *s1; c2 = *s2;
- s1++; s2++;
- if (!c1)
- break;
- if (!c2)
- break;
- if (c1 == c2)
- continue;
- c1 = tolower(c1);
- c2 = tolower(c2);
- if (c1 != c2)
- break;
- len--;
- }
- return (int)c1 - (int)c2;
-}
-
/*
* Compute the hash for the isofs name corresponding to the dentry.
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov