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
0faf3f8a
Commit
0faf3f8a
authored
Jul 31, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid non-portable Unix mode bits macros.
parent
3d3d4e2c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
shellpath.c
dlls/shell32/shellpath.c
+2
-2
theme.c
programs/winecfg/theme.c
+1
-1
No files found.
dlls/shell32/shellpath.c
View file @
0faf3f8a
...
...
@@ -2040,7 +2040,7 @@ static void _SHCreateSymbolicLinks(void)
for
(
i
=
0
;
i
<
sizeof
(
aidsMyStuff
)
/
sizeof
(
aidsMyStuff
[
0
]);
i
++
)
{
strcpy
(
szMyStuffTarget
,
szPersonalTarget
);
if
(
_SHAppendToUnixPath
(
szMyStuffTarget
,
MAKEINTRESOURCEW
(
aidsMyStuff
[
i
])))
mkdir
(
szMyStuffTarget
,
S_IRWXU
|
S_IRWXG
|
S_IRWXO
);
mkdir
(
szMyStuffTarget
,
0777
);
}
}
else
...
...
@@ -2061,7 +2061,7 @@ static void _SHCreateSymbolicLinks(void)
for
(
i
=
0
;
i
<
sizeof
(
aidsMyStuff
)
/
sizeof
(
aidsMyStuff
[
0
]);
i
++
)
{
strcpy
(
szMyStuffTarget
,
szPersonalTarget
);
if
(
_SHAppendToUnixPath
(
szMyStuffTarget
,
MAKEINTRESOURCEW
(
aidsMyStuff
[
i
])))
mkdir
(
szMyStuffTarget
,
S_IRWXU
|
S_IRWXG
|
S_IRWXO
);
mkdir
(
szMyStuffTarget
,
0777
);
}
}
...
...
programs/winecfg/theme.c
View file @
0faf3f8a
...
...
@@ -813,7 +813,7 @@ static void apply_shell_folder_changes(void) {
if
(
!
lstat
(
szBackupPath
,
&
statPath
)
&&
S_ISDIR
(
statPath
.
st_mode
))
{
rename
(
szBackupPath
,
szUnixPath
);
}
else
{
mkdir
(
szUnixPath
,
S_IRWXU
|
S_IRGRP
|
S_IXGRP
|
S_IROTH
|
S_IXOTH
);
mkdir
(
szUnixPath
,
0777
);
}
}
}
...
...
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