Patch for tools/wineconf

Donn Miller dmmiller at cvzoom.net
Thu Jun 7 07:24:50 CDT 2001


I'd like to submit a patch for upgrading tools/wineconf. On my system,
"win.ini" shows up as

$ find /dos/WINDOWS -type f | grep -i win.ini
/dos/WINDOWS/WIN.INI

and not "win.ini", so a case insensitive search will have to be
done. FreeBSD and Linux sometimes map uppercase and lowecase
differently in their VFAT code, and since I'm running FreeBSD,
"win.ini" shows up on my DOS partition as "WIN.INI".  So hence, we
need a case insensitive search.

Thanks for your attention to this matter.

Here is the patch:

--- tools/wineconf.orig	Fri Apr 20 14:36:06 2001
+++ tools/wineconf	Thu Jun  7 08:09:00 2001
@@ -164,7 +164,7 @@
 	foreach(@FATD) {
 	    my $ThisDrive = shift(@FATD);
 	    my $MntPoint = $ThisDrive->[1];
-	    push(@wininis, `find $MntPoint -name win.ini -print`);
+	    push(@wininis, `find $MntPoint -iname win.ini -print`);
 	}
 	foreach $winini (@wininis) {
 	    chomp $winini;




More information about the wine-patches mailing list