[Bug 25554] New: Could Wine live with empty WINEPREFIX?
http://bugs.winehq.org/show_bug.cgi?id=25554 Summary: Could Wine live with empty WINEPREFIX? Product: Wine Version: 1.3.9 Platform: x86 OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: wylda(a)volny.cz Hi, i use WINEPREFIX a lot, but when i tried to "delete" this variable by setting it to the empty string, wine then tells me: wine: invalid directory in WINEPREFIX: not an absolute path This empty string enhancement could help people like me, who don't know without google how to remove bash variable and want to quickly go with wine's default directory. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25554 --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2010-12-18 13:06:18 CST --- 'unset WINEPREFIX' -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25554 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de --- Comment #2 from André H. <nerv(a)dawncrow.de> 2010-12-19 14:18:43 CST --- i just sent a patch: http://www.winehq.org/pipermail/wine-patches/2010-December/096958.html -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25554 Wylda <wylda(a)volny.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #3 from Wylda <wylda(a)volny.cz> 2010-12-20 07:59:23 CST --- WONTFIX: http://www.winehq.org/pipermail/wine-devel/2010-December/088310.html Anyway, thanks André for care. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25554 Andrew Nguyen <arethusa26(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WONTFIX |INVALID --- Comment #4 from Andrew Nguyen <arethusa26(a)gmail.com> 2010-12-20 08:26:05 CST --- I don't believe it makes any sense to set WINEPREFIX to the empty string, so there was no defect in the first place. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25554 --- Comment #5 from Wylda <wylda(a)volny.cz> 2010-12-20 13:06:38 CST ---
set WINEPREFIX to the empty string, so there was no defect in the first place.
But when you don't use WINEPREFIX, it's also empty. So i thought that correct handling coudl be fine, when explicitly set to empty. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25554 --- Comment #6 from Andrew Nguyen <arethusa26(a)gmail.com> 2010-12-20 13:37:32 CST --- (In reply to comment #5)
set WINEPREFIX to the empty string, so there was no defect in the first place.
But when you don't use WINEPREFIX, it's also empty. So i thought that correct handling coudl be fine, when explicitly set to empty.
The WINEPREFIX environment variable not being set and WINEPREFIX being set to an empty string are two different conditions. It makes sense for the user, most likely implicitly, to not state the location of the Wine prefix, in which case Wine defaults to ~/.wine. If the user explicitly requests a location represented by the empty string, however, Wine can't reasonably fulfill this request, so failing is a legitimate behavior. Also, a minor issue that this behavior could catch is a defect in a shell script that exports WINEPREFIX but fails to set it to a reasonable value. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=25554 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Austin English <austinenglish(a)gmail.com> 2010-12-20 22:19:16 CST --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org