STABLE14-windows-freelance-default-root-cell-20041217

FIXES 16860

Forgot to add trailing dot on auto-generated default root.cell mountpoints.


(cherry picked from commit f26bd30c980288132f800ebbc1bfc1a2b281c2b2)
This commit is contained in:
Jeffrey Altman 2004-12-16 19:02:48 +00:00 committed by Jeffrey Altman
parent 3303ae8f2a
commit 69f2fe49d7

View File

@ -477,8 +477,8 @@ long cm_InitLocalMountPoints() {
rootCellName[0] = '.';
code = cm_GetRootCellName(&rootCellName[1]);
if (code == 0) {
cm_FreelanceAddMount(&rootCellName[1], &rootCellName[1], "root.cell", 0, NULL);
cm_FreelanceAddMount(rootCellName, &rootCellName[1], "root.cell", 1, NULL);
cm_FreelanceAddMount(&rootCellName[1], &rootCellName[1], "root.cell.", 0, NULL);
cm_FreelanceAddMount(rootCellName, &rootCellName[1], "root.cell.", 1, NULL);
dwMountPoints = 2;
}
}
@ -660,8 +660,8 @@ long cm_InitLocalMountPoints() {
rootCellName[0] = '.';
code = cm_GetRootCellName(&rootCellName[1]);
if (code == 0) {
cm_FreelanceAddMount(&rootCellName[1], &rootCellName[1], "root.cell", 0, NULL);
cm_FreelanceAddMount(rootCellName, &rootCellName[1], "root.cell", 1, NULL);
cm_FreelanceAddMount(&rootCellName[1], &rootCellName[1], "root.cell.", 0, NULL);
cm_FreelanceAddMount(rootCellName, &rootCellName[1], "root.cell.", 1, NULL);
}
return 0;
}