Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Duda <deo@logos-m.ru>2001-09-13 19:06:25 +0400
committerEgor Duda <deo@logos-m.ru>2001-09-13 19:06:25 +0400
commit4e8b5fc38766dc653bc503bb9d2cc56fc69240c4 (patch)
tree20197a3254372fd5b8f8d3f88c14ada0397c29b0 /winsup/utils/dumper.cc
parent36d19bdddbb26cfea34bf67d975b9f6c8588f708 (diff)
* dumper.cc (main): Properly recognize negative pids (used by w9x).
Diffstat (limited to 'winsup/utils/dumper.cc')
-rw-r--r--winsup/utils/dumper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/utils/dumper.cc b/winsup/utils/dumper.cc
index ee4a9eabc..ab80433e4 100644
--- a/winsup/utils/dumper.cc
+++ b/winsup/utils/dumper.cc
@@ -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
{