MinGW status for readline

Daniel Jacobowitz drow@false.org
Tue Apr 11 15:12:00 GMT 2006


On Tue, Apr 11, 2006 at 10:15:07AM -0400, Chet Ramey wrote:
> No, you never free username.  isolate_tilde_prefix allocates memory
> whether you have the getpwent family available or not.

It should be?  user_entry = 0, so the other branch of the if is taken.

> (I call endpwent() because its sole usual purpose is to close any open
> file descriptors on the password database, whatever it is.  getpwent
> and getpwnam usually keep the database open.)

Oh, huh.  So much for useful man pages.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list