OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26c6791
)
* dumper.cc (main): Properly recognize negative pids (used by w9x).
author
duda
<duda>
Thu, 13 Sep 2001 15:06:25 +0000
(15:06 +0000)
committer
duda
<duda>
Thu, 13 Sep 2001 15:06:25 +0000
(15:06 +0000)
winsup/utils/ChangeLog
patch
|
blob
|
history
winsup/utils/dumper.cc
patch
|
blob
|
history
diff --git
a/winsup/utils/ChangeLog
b/winsup/utils/ChangeLog
index
d54e005
..
91ee38a
100644
(file)
--- a/
winsup/utils/ChangeLog
+++ b/
winsup/utils/ChangeLog
@@
-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
diff --git
a/winsup/utils/dumper.cc
b/winsup/utils/dumper.cc
index
ee4a9ea
..
ab80433
100644
(file)
--- 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
{