Quick UNC support hack?
Stefan Leichter
Stefan.Leichter at camline.com
Wed Nov 7 12:08:49 CST 2001
Hello,
who likes to do some alpha test ;-) ?
Tschüß Stefan
Dan Kegel wrote:
> I ran into a situation where partial UNC support would be
> helpful and easy. Visual Sourcesafe runs well under Wine
> if I map \\vssServer\vssDir to a drive letter. Unfortunately,
> our administrator has the line
> journal_file = \\vssServer\vssDir\foo.txt
> in the sourcesafe config file. This causes an error dialog box
> "Bad DOS filename \\vssServer\vssDir\foo.txt".
>
> If Wine handled UNC paths as follows:
> Given a UNC path \\foo\bar,
> look at /etc/mtab for a matching smbfs mount.
> If one is found, look at .wine/config for a drive letter mapped to that
> mount. If one is found, convert the UNC path to be relative to that
> drive letter.
> I wouldn't get that error box. I dunno, but maybe this is worth doing;
> it might help a few other apps.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unc.diff
Type: text/x-csrc
Size: 3563 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-users/attachments/20011107/8afa368a/unc.c
More information about the wine-users
mailing list