]> granicus.if.org Git - neomutt/commitdiff
remove notes about SunOS as it's discontinued
authortoogley <toogley@mailbox.org>
Fri, 2 Jun 2017 10:45:58 +0000 (12:45 +0200)
committerRichard Russon <rich@flatcap.org>
Mon, 5 Jun 2017 14:23:04 +0000 (15:23 +0100)
charset.c
doc/mutt.man
lib.c

index 71b25cb26a5aa393b8fb0f9687d9414706bd15ad..f49075f701b3ae0aa4ef713d2635ff015763aabf 100644 (file)
--- 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 <dgc@uchicago.edu> has observed this with
-   * nl_langinfo under SunOS 5.8.
-   */
-
   { "646",                   "us-ascii"      },
 
   /*
index 5345d5d21c036d061e67b9740e1f41facdcbe32a..817a0fe58f209a7f12455621f78cc47e23946d94 100644 (file)
@@ -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 9854f5403d1a33e761df71af06b7e1026547db11..d2364242f891d6286940a6a3aa45e0687edca5ef 100644 (file)
--- 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!"));