Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2003-02-19 22:00:11 +0300
committerJeff Johnston <jjohnstn@redhat.com>2003-02-19 22:00:11 +0300
commit12ee7037a3108113845c0c0a55c87f25a4c7b4bf (patch)
tree66cc4f7f2054251af49d29c8491a000db5bd55d4 /newlib
parentde16df19231d21b16bef259ddefbfc27d8ab595b (diff)
2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/stdlib/mallocr.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index e9018f7ba..d20861654 100644
--- 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 fa2278224..5e104579e 100644
--- 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 */