public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@redhat.com>
To: Roland McGrath <roland@redhat.com>
Cc: Jakub Jelinek <jakub@redhat.com>,
	Glibc hackers <libc-hacker@sources.redhat.com>
Subject: Re: [PATCH] Fix dl-environ.c
Date: Wed, 11 Sep 2002 15:10:00 -0000	[thread overview]
Message-ID: <3D7FBF5F.2000805@redhat.com> (raw)
In-Reply-To: <20020911150322.F15869@dhcp187.sf.frob.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roland McGrath wrote:
> D'oh!  I don't see why that should be avoiding normal string routines,
> so I instead just snarfed the loop from the vanilla unsetenv, which
> does the same but using strncmp.

The reason it is not using srncmp is that this is the only use of 
strncmp in ld.so and it's not time-critical.  For a simple-minded inline 
function is better.

- -- 
- ---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9f79i2ijCOnn/RHQRAkNSAJ913GpulPx7seOjnVyMK5nwqAZ7zgCfV6aq
wvhiwAbIwsMEAIQpzO0Qaxo=
=e9I+
-----END PGP SIGNATURE-----

      reply	other threads:[~2002-09-11 22:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-11 14:54 Jakub Jelinek
2002-09-11 15:04 ` Roland McGrath
2002-09-11 15:10   ` Ulrich Drepper [this message]

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=3D7FBF5F.2000805@redhat.com \
    --to=drepper@redhat.com \
    --cc=jakub@redhat.com \
    --cc=libc-hacker@sources.redhat.com \
    --cc=roland@redhat.com \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).