winepath bug without arguments?
Paul Chitescu
paulc at voip.null.ro
Mon Aug 9 05:41:49 CDT 2010
On Monday 09 August 2010 01:23:24 pm Jerome Leclanche wrote:
> Hi
>
> After fixing a bug in MPQEdit related to opening directories, I
> noticed winepath returns a different result with and without quotes:
>
> adys at azura:~/.wine/drive_c$ winepath -w
> adys at azura:~/.wine/drive_c$ winepath -w ""
> C:\
>
> With quotes it returns the current directory. Is that intended? If not
> I'll open a bug...
>
>
>
> J. Leclanche
Yes, it's intended. winepath converts zero or more arguments. An empty
argument means "start from current dir... and print!"
[paulc at bussard drive_c]$ winepath -w "" users "Program Files"
C:\
C:\users
C:\Program Files
Paul
More information about the wine-devel
mailing list