1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

Canonicalise pathnames returned to Windows directory separators.

Found by Andrew at connectathon with some new tests
Jeremy.
(This used to be commit 4aaa4f52b8)
This commit is contained in:
Jeremy Allison 2002-03-04 22:56:37 +00:00
parent a2b95edf7f
commit 076e879ac1

View File

@ -1559,6 +1559,7 @@ static int call_trans2qfilepathinfo(connection_struct *conn,
pstrcpy(dos_fname, "\\");
} else {
snprintf(dos_fname, sizeof(dos_fname), "\\%s", fname);
string_replace( dos_fname, '/', '\\');
}
switch (info_level) {