Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: coredump completing scp



On Jan 29, 11:33pm, Peter Stephenson wrote:
} Subject: Re: coredump completing scp
}
} On Sat, 29 Jan 2011 15:13:06 -0800
} Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
} > It may be that setpwent() assumes that getpwent() has allocated something
} 
} Right, and since we always call endpwent() after all uses of getpwent(),
} we're guaranteed not to need setpwent() at all, aren't we?

It's probably defensive programming against getpwent() having been used
by a module or library without being endpwent()d afterward.



Messages sorted by: Reverse Date, Date, Thread, Author