Re: removal of getpwuid from gtk/gtkfilesel.c




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]