Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
to trap exceptions.
diff --git a/files/dos_fs.c b/files/dos_fs.c
index 0c4782d..bfb605d 100644
--- a/files/dos_fs.c
+++ b/files/dos_fs.c
@@ -968,7 +968,7 @@
/* Check if the file exists and use the existing file name */
if ( DOSFS_GetFullName ( tmpshortpath, TRUE, &full_name ) ) {
lstrcpyA ( tmpshortpath+sp, strrchr ( full_name.short_name, '\\' ) + 1 );
- sp += lstrlenA ( tmpshortpath+sp );
+ sp += strlen ( tmpshortpath+sp );
lp += tmplen;
continue;
}
@@ -981,7 +981,7 @@
lstrcpynA ( shortpath, tmpshortpath, shortlen );
TRACE("returning %s\n", debugstr_a(shortpath) );
- tmplen = lstrlenA ( tmpshortpath );
+ tmplen = strlen ( tmpshortpath );
HeapFree ( GetProcessHeap(), 0, tmpshortpath );
return tmplen;