OSDN Git Service
(root)
/
pf3gnuchains
/
sourceware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e2ffdd
)
* dtable.cc (dtable::extend): Change order of memcpy and cfree.
author
cgf
<cgf>
Sun, 11 Apr 2004 04:00:01 +0000
(
04:00
+0000)
committer
cgf
<cgf>
Sun, 11 Apr 2004 04:00:01 +0000
(
04:00
+0000)
winsup/cygwin/ChangeLog
patch
|
blob
|
history
winsup/cygwin/dtable.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/ChangeLog
b/winsup/cygwin/ChangeLog
index
638e5fb
..
9be9746
100644
(file)
--- a/
winsup/cygwin/ChangeLog
+++ b/
winsup/cygwin/ChangeLog
@@
-1,3
+1,7
@@
+2004-04-11 Pierre Humblet <pierre.humblet@ieee.org>
+
+ * dtable.cc (dtable::extend): Change order of memcpy and cfree.
+
2004-04-10 Corinna Vinschen <corinna@vinschen.de>
* syscalls.cc (sync): Define void according to SUSv3.
diff --git
a/winsup/cygwin/dtable.cc
b/winsup/cygwin/dtable.cc
index
d09dfda
..
5329104
100644
(file)
--- a/
winsup/cygwin/dtable.cc
+++ b/
winsup/cygwin/dtable.cc
@@
-91,8
+91,8
@@
dtable::extend (int howmuch)
}
if (fds)
{
- cfree (fds);
memcpy (newfds, fds, size * sizeof (fds[0]));
+ cfree (fds);
}
size = new_size;