From c20d76ff67b54105d2705033d8def67fbaa26dcb Mon Sep 17 00:00:00 2001 From: toogley Date: Fri, 2 Jun 2017 12:45:58 +0200 Subject: [PATCH] remove notes about SunOS as it's discontinued --- charset.c | 5 ----- doc/mutt.man | 4 ---- lib.c | 9 +-------- 3 files changed, 1 insertion(+), 17 deletions(-) diff --git a/charset.c b/charset.c index 71b25cb26..f49075f70 100644 --- a/charset.c +++ b/charset.c @@ -173,11 +173,6 @@ PreferredMIMENames[] = { "iso_8859-16", "iso-8859-16" }, { "latin10", "iso-8859-16" }, /* this is not a bug */ - /* - * David Champion has observed this with - * nl_langinfo under SunOS 5.8. - */ - { "646", "us-ascii" }, /* diff --git a/doc/mutt.man b/doc/mutt.man index 5345d5d21..817a0fe58 100644 --- a/doc/mutt.man +++ b/doc/mutt.man @@ -204,10 +204,6 @@ The Mutt manual. None. Mutts have fleas, not bugs. .SH FLEAS .PP -Suspend/resume while editing a file with an external editor does not work -under SunOS 4.x if you use the curses lib in /usr/5lib. It \fIdoes\fP work -with the S-Lang library, however. -.PP Resizing the screen while using an external pager causes Mutt to go haywire on some systems. .PP diff --git a/lib.c b/lib.c index 9854f5403..d2364242f 100644 --- a/lib.c +++ b/lib.c @@ -161,14 +161,7 @@ void safe_realloc(void *ptr, size_t siz) return; } - if (*p) - r = realloc(*p, siz); - else - { - /* realloc(NULL, nbytes) doesn't seem to work under SunOS 4.1.x */ - r = malloc(siz); - } - + r = realloc(*p, siz); if (!r) { mutt_error(_("Out of memory!")); -- 2.49.0