Your message dated Thu, 12 Jul 2007 21:52:15 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#323847: libgtk2.0-0: libgtk does not use home-directory
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libglib2.0-0
Version: 2.6.4-1
Severity: minor

The documentation for g_get_home_dir specifies:

| G_CONST_RETURN gchar* g_get_home_dir        (void);
| 
| Gets the current user's home directory.
| 
| Note that in contrast to traditional Unix tools, this function
| prefers passwd entries over the HOME environment variable.
|       
| Returns : the current user's home directory.

Which is obvious self-contradicting, as the home directory is the
content of the HOME environment variable, and the passwd entry is
only one possible initial value (if it exists at all).

As the comment seems to indicate that it does not return the
home directory, it should rather read something like:

Gets the current user's possible initial home directory.

Note that the actual home directory for this program can be
get by reading the HOME environment variable, this is only a
value which was most likely used by the login program to
initial set it.

Returns : the current user's most likely initial home directory.

Hochachtungsvoll,
        Bernhard R. Link

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)

Versions of packages libglib2.0-0 depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 2.13.4-1

        Hi,

On Thu, Aug 18, 2005, Bernhard R. Link wrote:
> libgtk ignores the current home directory, but uses the possible
> initial value from getpwuid delivered by g_get_home_dir. 

 This is an historical decision in the implementation of
 g_get_home_dir() as it was deemed too risky to expose $HOME to apps not
 prepared for properly testing the sanity of the directory.

 This has been documented extensively in version 2.13.0 upstream, hence
 I'm closing this bug.

   Bye,
-- 
Loïc Minier

--- End Message ---

Reply via email to