From: Glenn Morris <rgm@gnu.org>
To: "Dimitry Kloper" <dimitry.kloper@gmail.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: emacs-22.1 coredumps on HPUX 11i
Date: Wed, 15 Aug 2007 20:43:04 -0400 [thread overview]
Message-ID: <wdtzr0xqav.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <cc799c940708150851g57577537r379eefe18ddb0dbb@mail.gmail.com> (Dimitry Kloper's message of "Wed, 15 Aug 2007 17:51:49 +0200")
"Dimitry Kloper" wrote:
> I apologise in case this bug was already reported.
Actually it was, but this is a very timely re-posting, so never mind! :)
> The problem appears to be in the uninitialized static pointers
> default_orig_pair, default_set_foreground, default_set_background at
> the very beginning of function tty_default_color_capabilities() in
> term.c.
>
> Indeed, simply initializing those to NULL values solves the core dump.
Can you test a different fix please: rather than initializing to NULL,
move the declarations of the six static variables above the function,
ie so it looks like:
static int default_max_colors;
static int default_max_pairs;
static int default_no_color_video;
static char *default_orig_pair;
static char *default_set_foreground;
static char *default_set_background;
static void
tty_default_color_capabilities (save)
int save;
next prev parent reply other threads:[~2007-08-16 0:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-15 15:51 emacs-22.1 coredumps on HPUX 11i Dimitry Kloper
2007-08-16 0:43 ` Glenn Morris [this message]
2007-08-17 7:25 ` Glenn Morris
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=wdtzr0xqav.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=bug-gnu-emacs@gnu.org \
--cc=dimitry.kloper@gmail.com \
/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.