Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
1f1d2ddf
Commit
1f1d2ddf
authored
Nov 29, 2006
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Nov 29, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Make some data const.
parent
3dc6390e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
om.c
dlls/ntdll/om.c
+2
-2
path.c
dlls/ntdll/path.c
+1
-1
No files found.
dlls/ntdll/om.c
View file @
1f1d2ddf
...
...
@@ -155,8 +155,8 @@ NtQuerySecurityObject(
IN
ULONG
Length
,
OUT
PULONG
ResultLength
)
{
static
SID_IDENTIFIER_AUTHORITY
localSidAuthority
=
{
SECURITY_NT_AUTHORITY
};
static
SID_IDENTIFIER_AUTHORITY
worldSidAuthority
=
{
SECURITY_WORLD_SID_AUTHORITY
};
static
const
SID_IDENTIFIER_AUTHORITY
localSidAuthority
=
{
SECURITY_NT_AUTHORITY
};
static
const
SID_IDENTIFIER_AUTHORITY
worldSidAuthority
=
{
SECURITY_WORLD_SID_AUTHORITY
};
BYTE
Buffer
[
256
];
PISECURITY_DESCRIPTOR_RELATIVE
psd
=
(
PISECURITY_DESCRIPTOR_RELATIVE
)
Buffer
;
UINT
BufferIndex
=
sizeof
(
SECURITY_DESCRIPTOR_RELATIVE
);
...
...
dlls/ntdll/path.c
View file @
1f1d2ddf
...
...
@@ -896,7 +896,7 @@ DWORD WINAPI RtlGetLongestNtPathLength(void)
BOOLEAN
WINAPI
RtlIsNameLegalDOS8Dot3
(
const
UNICODE_STRING
*
unicode
,
OEM_STRING
*
oem
,
BOOLEAN
*
spaces
)
{
static
const
char
*
illegal
=
"*?<>|
\"
+=,;[]:/
\\\345
"
;
static
const
char
illegal
[]
=
"*?<>|
\"
+=,;[]:/
\\\345
"
;
int
dot
=
-
1
;
int
i
;
char
buffer
[
12
];
...
...
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