Re: g_get_real_name() and GECOS



Am Mi, den 21.01.2004 schrieb Owen Taylor um 22:35:
> Just realized that g_get_real_name() returns the whole
> GECOS field rather than just the name part on Unix :-(
> 
> I don't think most callers are expecting this, and it
> isn't documented. But it's conceivable that some people
> are
> 
> Opinions on whether we can/should change this?

Thats not the case. If you look at the very end of g_get_any_init(),
you'll notice that we only return the part up to the first ,
My patch in 118973 may have mislead you, since I also overlooked that
section when I did the patch.

Matthias




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]