projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21f8792
)
Use getpid instead of GetCurrentProcessId as the latter calls into io-layer which...
author
Jonathan Chambers
<jonathan@unity3d.com>
Fri, 13 Apr 2012 20:04:17 +0000
(16:04 -0400)
committer
Jonathan Chambers
<jonathan@unity3d.com>
Mon, 16 Apr 2012 13:48:54 +0000
(09:48 -0400)
mono/mini/debugger-agent.c
patch
|
blob
|
history
diff --git
a/mono/mini/debugger-agent.c
b/mono/mini/debugger-agent.c
index 950fc5b97d4fa299119f07c748a9af05bf1f485b..b2c4572e5bae971fa7090d8ee5f2024da6b621c5 100644
(file)
--- a/
mono/mini/debugger-agent.c
+++ b/
mono/mini/debugger-agent.c
@@
-858,7
+858,7
@@
mono_debugger_agent_parse_options (char *options)
/* Waiting for deferred attachment */
agent_config.defer = TRUE;
if (agent_config.address == NULL) {
- agent_config.address = g_strdup_printf ("0.0.0.0:%u", 56000 + (
GetCurrentProcessI
d () % 1000));
+ agent_config.address = g_strdup_printf ("0.0.0.0:%u", 56000 + (
getpi
d () % 1000));
}
}