diff options
author | jdp <jdp@FreeBSD.org> | 1997-12-12 11:08:18 +0800 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1997-12-12 11:08:18 +0800 |
commit | 6365bb43eb71f5c2d4236b66ce145c88d4f8997c (patch) | |
tree | a10249d79ae7615735dcea093c66243f8c53d1b3 /editors | |
parent | d3db30adbc03d9048041d33f274aa3a021ec8794 (diff) | |
download | freebsd-ports-gnome-6365bb43eb71f5c2d4236b66ce145c88d4f8997c.tar.gz freebsd-ports-gnome-6365bb43eb71f5c2d4236b66ce145c88d4f8997c.tar.zst freebsd-ports-gnome-6365bb43eb71f5c2d4236b66ce145c88d4f8997c.zip |
Eliminate a harmless warning caused by recent changes to the dynamic
linker.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/xemacs20/files/patch-ag | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/editors/xemacs20/files/patch-ag b/editors/xemacs20/files/patch-ag new file mode 100644 index 000000000000..5b3d38890ea7 --- /dev/null +++ b/editors/xemacs20/files/patch-ag @@ -0,0 +1,21 @@ +This patch eliminates a harmless warning which began to be emitted +under FreeBSD-current when the dynamic linker was revamped to allocate +its memory out of the application's arena. + +--- src/unexfreebsd.c.orig Wed Dec 18 14:44:07 1996 ++++ src/unexfreebsd.c Thu Dec 11 18:06:31 1997 +@@ -680,13 +680,7 @@ + { + unsigned long current_sbrk = (unsigned long) sbrk (0); + +- if (sbrk_of_0_at_unexec < current_sbrk) +- { +- if (sbrk_of_0_at_unexec != 0) +- fprintf (stderr, "Absurd new brk addr = 0x%x (current = 0x%x)\n", +- sbrk_of_0_at_unexec, current_sbrk); +- } +- else ++ if (sbrk_of_0_at_unexec > current_sbrk) + { + errno = 0; + if (brk ((caddr_t) sbrk_of_0_at_unexec)) |