* dumper.cc (main): Properly recognize negative pids (used by w9x).

This commit is contained in:
Egor Duda 2001-09-13 15:06:25 +00:00
parent 36d19bdddb
commit 4e8b5fc387
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-09-13 Egor Duda <deo@logos-m.ru>
* dumper.cc (main): Properly recognize negative pids (used by w9x).
2001-09-09 Egor Duda <deo@logos-m.ru>
* dumper.cc (main): Change command-line arguments format to be

View File

@ -806,7 +806,7 @@ main (int argc, char **argv)
p++;
else
p = win32_name;
pid = atoi (*(argv + optind + 1));
pid = strtoul (*(argv + optind + 1), NULL, 10);
}
else
{