Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
892780a5
Commit
892780a5
authored
Oct 15, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Create the NLS directory.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
14012ea2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
directory.c
server/directory.c
+3
-0
No files found.
server/directory.c
View file @
892780a5
...
...
@@ -249,12 +249,14 @@ static void create_session( unsigned int id )
static
const
WCHAR
dir_bnolinksW
[]
=
{
'B'
,
'N'
,
'O'
,
'L'
,
'I'
,
'N'
,
'K'
,
'S'
};
static
const
WCHAR
dir_bnoW
[]
=
{
'B'
,
'a'
,
's'
,
'e'
,
'N'
,
'a'
,
'm'
,
'e'
,
'd'
,
'O'
,
'b'
,
'j'
,
'e'
,
'c'
,
't'
,
's'
};
static
const
WCHAR
dir_dosdevicesW
[]
=
{
'D'
,
'o'
,
's'
,
'D'
,
'e'
,
'v'
,
'i'
,
'c'
,
'e'
,
's'
};
static
const
WCHAR
dir_nlsW
[]
=
{
'N'
,
'L'
,
'S'
};
static
const
WCHAR
dir_windowsW
[]
=
{
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
's'
};
static
const
WCHAR
dir_winstationsW
[]
=
{
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
'S'
,
't'
,
'a'
,
't'
,
'i'
,
'o'
,
'n'
,
's'
};
static
const
struct
unicode_str
dir_sessions_str
=
{
dir_sessionsW
,
sizeof
(
dir_sessionsW
)};
static
const
struct
unicode_str
dir_bnolinks_str
=
{
dir_bnolinksW
,
sizeof
(
dir_bnolinksW
)};
static
const
struct
unicode_str
dir_bno_str
=
{
dir_bnoW
,
sizeof
(
dir_bnoW
)};
static
const
struct
unicode_str
dir_dosdevices_str
=
{
dir_dosdevicesW
,
sizeof
(
dir_dosdevicesW
)};
static
const
struct
unicode_str
dir_nls_str
=
{
dir_nlsW
,
sizeof
(
dir_nlsW
)};
static
const
struct
unicode_str
dir_windows_str
=
{
dir_windowsW
,
sizeof
(
dir_windowsW
)};
static
const
struct
unicode_str
dir_winstations_str
=
{
dir_winstationsW
,
sizeof
(
dir_winstationsW
)};
...
...
@@ -278,6 +280,7 @@ static void create_session( unsigned int id )
dir_bno_global
=
create_directory
(
&
root_directory
->
obj
,
&
dir_bno_str
,
OBJ_PERMANENT
,
HASH_SIZE
,
NULL
);
dir_sessions
=
create_directory
(
&
root_directory
->
obj
,
&
dir_sessions_str
,
OBJ_PERMANENT
,
HASH_SIZE
,
NULL
);
dir_bnolinks
=
create_directory
(
&
dir_sessions
->
obj
,
&
dir_bnolinks_str
,
OBJ_PERMANENT
,
HASH_SIZE
,
NULL
);
release_object
(
create_directory
(
&
root_directory
->
obj
,
&
dir_nls_str
,
OBJ_PERMANENT
,
HASH_SIZE
,
NULL
));
release_object
(
dir_bno_global
);
release_object
(
dir_bnolinks
);
release_object
(
dir_sessions
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment