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
42666eea
Commit
42666eea
authored
Nov 21, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fixes.
parent
31670003
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
process.c
server/process.c
+0
-1
ptrace.c
server/ptrace.c
+2
-1
No files found.
server/process.c
View file @
42666eea
...
...
@@ -11,7 +11,6 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/ptrace.h>
#include <sys/time.h>
#include <unistd.h>
...
...
server/ptrace.c
View file @
42666eea
...
...
@@ -10,6 +10,7 @@
#include <errno.h>
#include <stdio.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/ptrace.h>
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
...
...
@@ -142,7 +143,7 @@ void continue_thread( struct thread *thread )
/* read an int from a thread address space */
int
read_thread_int
(
struct
thread
*
thread
,
const
int
*
addr
,
int
*
data
)
{
if
(((
*
data
=
ptrace
(
PTRACE_PEEKDATA
,
thread
->
unix_pid
,
addr
))
==
-
1
)
&&
errno
)
if
(((
*
data
=
ptrace
(
PTRACE_PEEKDATA
,
thread
->
unix_pid
,
addr
,
0
))
==
-
1
)
&&
errno
)
{
file_set_error
();
return
-
1
;
...
...
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