OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd7d333
)
2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
author
jjohnstn
<jjohnstn>
Wed, 19 Feb 2003 19:00:11 +0000
(19:00 +0000)
committer
jjohnstn
<jjohnstn>
Wed, 19 Feb 2003 19:00:11 +0000
(19:00 +0000)
* libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
newlib/ChangeLog
patch
|
blob
|
history
newlib/libc/stdlib/mallocr.c
patch
|
blob
|
history
diff --git
a/newlib/ChangeLog
b/newlib/ChangeLog
index
e9018f7
..
d208616
100644
(file)
--- a/
newlib/ChangeLog
+++ b/
newlib/ChangeLog
@@
-1,3
+1,7
@@
+2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
+
2003-02-18 Christian Groessler <chris@groessler.org>
* libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
diff --git
a/newlib/libc/stdlib/mallocr.c
b/newlib/libc/stdlib/mallocr.c
index
fa22782
..
5e10457
100644
(file)
--- a/
newlib/libc/stdlib/mallocr.c
+++ b/
newlib/libc/stdlib/mallocr.c
@@
-1936,8
+1936,8
@@
static void do_check_malloced_chunk(p, s) mchunkptr p; INTERNAL_SIZE_T s;
{ \
BK = P->bk; \
FD = P->fd; \
-
if (FD)
FD->bk = BK; \
-
if (BK)
BK->fd = FD; \
+ FD->bk = BK; \
+ BK->fd = FD; \
} \
/* Place p as the last remainder */