Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 16 Jun 2022 22:19:24 +0600
From: NRK <>
Subject: Re: hostname is using a case sensitive search in function

On Thu, Jun 09, 2022 at 04:34:27PM -0400, Rich Felker wrote:
> strcasestr isn't a good match here, because it's quadratic time and
> would be potentially quite slow (depending on file contents). It's
> also not in a usable namespace, and is something of a junk function we
> included for questionable reasons.

A bit off-topic, but is there any desire to improve the strcasestr
performance? If there is, then I can supply the patch as I was playing
around with it a couple weeks ago.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.