Subject: Re: pthread assertion failure
To: None <christianbiere@gmx.de>
From: Min Sik Kim <minskim@bawi.org>
List: current-users
Date: 01/08/2004 11:02:34
On Thu, 8 Jan 2004 10:11:52 +0100
Christian Biere <christianbiere@gmx.de> wrote:
> Min Sik Kim wrote:
> > I compiled this with the following command.
> > 
> >   cc -pthread -o terminal terminal.c
> 
> What happens if you compile it with
> 
>   cc -D_REENTRANT -o terminal terminal.c -lpthread
> 
> and have you tried whether "#include <pthread.h>" makes a difference?

As Bang Jun-Young said in his posting, they don't make any difference.

> > const int N_CHARSETS = 32;
> > static char *charsets[] = {
> 
> This looks like a bad idea.

The original codes are not that stupid, in case you're worrying about
GNOME code quality. :)

gnome-terminal has more than 20,000 lines of codes, so I just chose an
easy way to cut out irrelevant lines.

I filed a PR (24023) for this bug.

-- 
Min Sik Kim