* server.c (main): Relax numerical bases supported for the pid of
the --attach command line argument.
This commit is contained in:
parent
5ca906e670
commit
6c2d16d2d3
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-12-03 Pedro Alves <pedro_alves@portugalmail.pt>
|
||||||
|
|
||||||
|
* server.c (main): Relax numerical bases supported for the pid of
|
||||||
|
the --attach command line argument.
|
||||||
|
|
||||||
2007-12-03 Pedro Alves <pedro_alves@portugalmail.pt>
|
2007-12-03 Pedro Alves <pedro_alves@portugalmail.pt>
|
||||||
|
|
||||||
* win32-low.c (win32_attach): Call OpenProcess before
|
* win32-low.c (win32_attach): Call OpenProcess before
|
||||||
|
|
|
@ -880,7 +880,7 @@ main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
if (argc == 4
|
if (argc == 4
|
||||||
&& argv[3][0] != '\0'
|
&& argv[3][0] != '\0'
|
||||||
&& (pid = strtoul (argv[3], &arg_end, 10)) != 0
|
&& (pid = strtoul (argv[3], &arg_end, 0)) != 0
|
||||||
&& *arg_end == '\0')
|
&& *arg_end == '\0')
|
||||||
{
|
{
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in a new issue