Re: removal of getpwuid from gtk/gtkfilesel.c
- From: Owen Taylor <otaylor redhat com>
- To: Sebastian Wilhelmi <wilhelmi ira uka de>
- Cc: GTK+ development list <gtk-devel-list redhat com>
- Subject: Re: removal of getpwuid from gtk/gtkfilesel.c
- Date: 26 Jan 1999 15:59:11 -0500
Sebastian Wilhelmi <wilhelmi@ira.uka.de> writes:
> This is a multi-part message in MIME format.
> --------------FCF408EA1F35BED376179E4B
> Content-Type: text/plain; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
>
> Hi,
>
> couldn't we remove the use of getpwuid from gtk/gtkfilesel.c to avoid
> duplicating the MT safety mess from glib/gutils.c. getpwuid is only used
> here to find the home dir, which is also done in gutils.c. Atached is a
> patch to do that.
Hmmm, don't the calls to getpwnam just underneath (in the
~user part) have the the same reentrancy concerns as
getpwuid?
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]