From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10115 invoked by alias); 11 Sep 2002 22:10:32 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 10099 invoked from network); 11 Sep 2002 22:10:31 -0000 Received: from unknown (HELO myware.akkadia.org) (24.221.190.179) by sources.redhat.com with SMTP; 11 Sep 2002 22:10:31 -0000 Received: from redhat.com (myware.akkadia.org [192.168.7.70]) (authenticated bits=0) by myware.akkadia.org (8.12.5/8.12.5) with ESMTP id g8BMAgCn028385; Wed, 11 Sep 2002 15:10:42 -0700 Message-ID: <3D7FBF5F.2000805@redhat.com> Date: Wed, 11 Sep 2002 15:10:00 -0000 From: Ulrich Drepper User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020812 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roland McGrath CC: Jakub Jelinek , Glibc hackers Subject: Re: [PATCH] Fix dl-environ.c References: <20020911235402.S1013@sunsite.ms.mff.cuni.cz> <20020911150322.F15869@dhcp187.sf.frob.com> X-Enigmail-Version: 0.65.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00015.txt.bz2 -----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-----