OSDN Git Service

* dumper.cc (main): Properly recognize negative pids (used by w9x).
authorduda <duda>
Thu, 13 Sep 2001 15:06:25 +0000 (15:06 +0000)
committerduda <duda>
Thu, 13 Sep 2001 15:06:25 +0000 (15:06 +0000)
winsup/utils/ChangeLog
winsup/utils/dumper.cc

index d54e005..91ee38a 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 ee4a9ea..ab80433 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
     {