From: Stefan Kangas <stefankangas@gmail.com>
To: 75153@debbugs.gnu.org
Subject: bug#75153: [PATCH] Remove workaround for AIX 3.2 crashes
Date: Sat, 28 Dec 2024 03:06:45 +0000 [thread overview]
Message-ID: <CADwFkmmHR0NJME3C3fUMaM_K=J4YjSLE9b559HgAdcKQzM8f1w@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 84 bytes --]
Severity: wishlist
Please see the attached patch for the change and the rationale.
[-- Attachment #2: 0001-Remove-workaround-for-AIX-3.2-crashes.patch --]
[-- Type: text/x-patch, Size: 1759 bytes --]
From 743a02ea0a139e698d54b2f176dea53259f1c288 Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankangas@gmail.com>
Date: Sun, 22 Dec 2024 21:52:18 +0100
Subject: [PATCH] Remove workaround for AIX 3.2 crashes
Emacs does not support AIX 3.2 since 2008.
This workaround for AIX 3.2.3 and 3.2.4 (released in 1992) was added in
1999, and was only active with '#ifdef AIX3_2'. In 2008, this condition
was changed to '#ifdef AIX', when support for these ancient versions of
AIX was removed. I couldn't find any justification for why this was
kept (rather than removed) in the commit message or in the mailing list
archives.
Given that users of versions of AIX 4.0 (released in 1995) or later did
not have this workaround for a decade (1999-2008), I think it's safe to
assume that it's dead wood that is not needed now either. If it's still
needed, AIX users will have to report back to us. This will also avoid
overriding users LANG settings on that system.
* src/emacs.c [AIX] (main): Remove workaround for AIX 3.2.
---
src/emacs.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/emacs.c b/src/emacs.c
index 25b014bf83c..32b214b542d 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -2184,14 +2184,6 @@ android_emacs_init (int argc, char **argv, char *dump_file)
init_ntproc (will_dump_p ()); /* must precede init_editfns. */
#endif
- /* AIX crashes are reported in system versions 3.2.3 and 3.2.4
- if this is not done. Do it after set_global_environment so that we
- don't pollute Vglobal_environment. */
- /* Setting LANG here will defeat the startup locale processing... */
-#ifdef AIX
- xputenv ("LANG=C");
-#endif
-
/* Init buffer storage and default directory of main buffer. */
init_buffer ();
--
2.47.1
reply other threads:[~2024-12-28 3:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkmmHR0NJME3C3fUMaM_K=J4YjSLE9b559HgAdcKQzM8f1w@mail.gmail.com' \
--to=stefankangas@gmail.com \
--cc=75153@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.