Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/jemalloc/dist/src revert previous sshd hack (fr...



details:   https://anonhg.NetBSD.org/src/rev/f52419737855
branches:  trunk
changeset: 449653:f52419737855
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Mar 14 21:49:32 2019 +0000

description:
revert previous sshd hack (from Rin Okuyama)

diffstat:

 external/bsd/jemalloc/dist/src/jemalloc.c |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (19 lines):

diff -r 4e90c36e79aa -r f52419737855 external/bsd/jemalloc/dist/src/jemalloc.c
--- a/external/bsd/jemalloc/dist/src/jemalloc.c Thu Mar 14 21:10:33 2019 +0000
+++ b/external/bsd/jemalloc/dist/src/jemalloc.c Thu Mar 14 21:49:32 2019 +0000
@@ -2339,14 +2339,9 @@
                                tcache = NULL;
                        }
                        ifree(tsd, ptr, tcache, true);
-#ifdef notyet
-                       /*
-                        * sshd depends on realloc(p, 0) returning non-NULL
-                        * disable for compatibility for now
-                        */
+
                        LOG("core.realloc.exit", "result: %p", NULL);
                        return NULL;
-#endif
                }
                size = 1;
        }



Home | Main Index | Thread Index | Old Index