]> sourceware.org Git - newlib-cygwin.git/commitdiff
* dumper.cc (main): Properly recognize negative pids (used by w9x).
authorEgor Duda <deo@logos-m.ru>
Thu, 13 Sep 2001 15:06:25 +0000 (15:06 +0000)
committerEgor Duda <deo@logos-m.ru>
Thu, 13 Sep 2001 15:06:25 +0000 (15:06 +0000)
winsup/utils/ChangeLog
winsup/utils/dumper.cc

index d54e0050f58f860a2db7cac3631d5926da98de33..91ee38a8d859f9eef62180f0b40e3a679b970b64 100644 (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
index ee4a9eabc9f111a7af40b6ddce1ee17445e0dcaf..ab80433e4baf0ee3f918cea38bc097a3582d7542 100644 (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
     {
This page took 0.032614 seconds and 5 git commands to generate.