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
8548fc29
Commit
8548fc29
authored
Mar 11, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fixes.
parent
0977658d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
time.c
dlls/ntdll/time.c
+2
-0
smb.c
files/smb.c
+1
-5
No files found.
dlls/ntdll/time.c
View file @
8548fc29
...
...
@@ -798,6 +798,7 @@ NTSTATUS WINAPI RtlQueryTimeZoneInformation(LPTIME_ZONE_INFORMATION tzinfo)
*/
NTSTATUS
WINAPI
RtlSetTimeZoneInformation
(
const
TIME_ZONE_INFORMATION
*
tzinfo
)
{
#ifdef HAVE_SETTIMEOFDAY
struct
timezone
tz
;
tz
.
tz_minuteswest
=
tzinfo
->
Bias
;
...
...
@@ -808,6 +809,7 @@ NTSTATUS WINAPI RtlSetTimeZoneInformation( const TIME_ZONE_INFORMATION *tzinfo )
#endif
if
(
!
settimeofday
(
NULL
,
&
tz
))
return
STATUS_SUCCESS
;
#endif
return
STATUS_PRIVILEGE_NOT_HELD
;
}
...
...
files/smb.c
View file @
8548fc29
...
...
@@ -306,13 +306,9 @@ static BOOL NB_Lookup(LPCSTR host, struct sockaddr_in *addr)
if
(
r
<
0
)
goto
err
;
if
(
0
==
inet_aton
(
"255.255.255.255"
,
(
struct
in_addr
*
)
&
sin
.
sin_addr
.
s_addr
))
{
FIXME
(
"Error getting bcast address
\n
"
);
goto
err
;
}
sin
.
sin_family
=
AF_INET
;
sin
.
sin_port
=
htons
(
137
);
sin
.
sin_addr
.
s_addr
=
0xffffffff
;
len
=
NB_NameReq
(
host
,
buffer
,
sizeof
(
buffer
));
if
(
len
<=
0
)
...
...
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