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
617b29c4
Commit
617b29c4
authored
Mar 27, 2024
by
Brendan Shanks
Committed by
Alexandre Julliard
Mar 27, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Simplify creation of the server directory.
parent
abcbd85b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
request.c
server/request.c
+1
-11
No files found.
server/request.c
View file @
617b29c4
...
...
@@ -662,17 +662,7 @@ static char *create_server_dir( int force )
strcat
(
server_dir
,
"/server-"
);
p
=
server_dir
+
strlen
(
server_dir
);
if
(
st
.
st_dev
!=
(
unsigned
long
)
st
.
st_dev
)
p
+=
sprintf
(
p
,
"%lx%08lx-"
,
(
unsigned
long
)((
unsigned
long
long
)
st
.
st_dev
>>
32
),
(
unsigned
long
)
st
.
st_dev
);
else
p
+=
sprintf
(
p
,
"%lx-"
,
(
unsigned
long
)
st
.
st_dev
);
if
(
st
.
st_ino
!=
(
unsigned
long
)
st
.
st_ino
)
sprintf
(
p
,
"%lx%08lx"
,
(
unsigned
long
)((
unsigned
long
long
)
st
.
st_ino
>>
32
),
(
unsigned
long
)
st
.
st_ino
);
else
sprintf
(
p
,
"%lx"
,
(
unsigned
long
)
st
.
st_ino
);
sprintf
(
p
,
"%llx-%llx"
,
(
unsigned
long
long
)
st
.
st_dev
,
(
unsigned
long
long
)
st
.
st_ino
);
create_dir
(
server_dir
,
&
st
);
...
...
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