zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: coredump completing scp
Date: Sat, 29 Jan 2011 21:51:02 -0800	[thread overview]
Message-ID: <110129215102.ZM21791@torch.brasslantern.com> (raw)
In-Reply-To: <20110129233358.0e33fee1@pws-pc.ntlworld.com>

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@brasslantern.com> 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.


  reply	other threads:[~2011-01-30  5:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-28  3:13 Vin Shelton
2011-01-28  3:30 ` Bart Schaefer
2011-01-28  3:46   ` Vin Shelton
2011-01-28  9:56   ` Peter Stephenson
2011-01-28 10:14     ` Peter Stephenson
2011-01-29  1:42     ` Vin Shelton
2011-01-29 22:16       ` Peter Stephenson
2011-01-29 23:13         ` Bart Schaefer
2011-01-29 23:33           ` Peter Stephenson
2011-01-30  5:51             ` Bart Schaefer [this message]
2011-02-15 19:02               ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=110129215102.ZM21791@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).