This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix crash on NULL rl_prompt
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 30 Mar 2010 09:57:28 -0600
- Subject: Re: [patch] Fix crash on NULL rl_prompt
- References: <20100329234026.GA23895@host0.dyn.jankratochvil.net>
- Reply-to: tromey at redhat dot com
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> BTW don't you think xstrdup (NULL) should == NULL? Like xmalloc
Jan> (0) == NULL.
I personally don't care either way. If you want to do it, that is fine
by me.
Jan> 2010-03-30 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan> * tui/tui-io.c (tui_prep_terminal): Permit NULL rl_prompt.
Ok.
Tom