From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2a07:de40:b251:101:10:150:64:2]) by sourceware.org (Postfix) with ESMTPS id 72A5A3858D20 for ; Thu, 16 May 2024 15:20:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 72A5A3858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 72A5A3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a07:de40:b251:101:10:150:64:2 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715872806; cv=none; b=YRkblOhvR5PRepmfKm5FlmBfJ13IPiAibImkyoNGbm9P+Y3Ch96KxYWBpHDrmnkfSyQ8WfztcDUO8jIIsH/CqmpbSEUMPkJ7t/Tg7ZHPirA101uj6mMYQ22Zb6ER8bpxu7x80uI/+l4RSpk5MkPIXZE4UjNd0juSWmJvyPVV15s= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715872806; c=relaxed/simple; bh=LMWkmjEUzixefLgc6LbQfoVBwxwL4qIma/bVh6RQLxE=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=sls//PGacvJUQexNvobW2VPXs9zU2QiBzAMhzXAsx7jagY9kpRi8dGTqGpZ8UX/ZUzY2aNbDWWZwpm3Hy/5zH6vD3Uuxz0pKls5jqXD0sqAZZqtNNFFuaOf+ZRLMlUUNNwNfFt6r/PW+2pzmCH+4loSH6XzJ67mNZP6bT2sBGbk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from hawking.nue2.suse.org (unknown [10.168.4.11]) by smtp-out2.suse.de (Postfix) with ESMTP id 6FF375BD74; Thu, 16 May 2024 15:20:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1715872804; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KpWrmdkS82fp1P79fgCNgUDo8Z/aRlQU+dsHdyP6PG0=; b=cHgdtm9OXIfNH7kzw6NoHiQm7cb/qmMmi1UBDb8fjkEYCBfFaZ2Vpc6g+MVBPkz4aJnoOR Iocw1CKbYVCE8eAo9gReR3pXxy5PG0AradXapWImzZesjmYeLSswCtxQPGx67bhuZcN1Cb nQjwovPMDRsePhVTcjJphOiLwPWBsAE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1715872804; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KpWrmdkS82fp1P79fgCNgUDo8Z/aRlQU+dsHdyP6PG0=; b=cMnggtsoipFepEMC/MX4D1fQRqJIaWA04ewl1DATPdVtpI36uorBF4zM8tfgfsCW10rhx6 XKZZ2FrGkNuIbrCA== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1715872804; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KpWrmdkS82fp1P79fgCNgUDo8Z/aRlQU+dsHdyP6PG0=; b=cHgdtm9OXIfNH7kzw6NoHiQm7cb/qmMmi1UBDb8fjkEYCBfFaZ2Vpc6g+MVBPkz4aJnoOR Iocw1CKbYVCE8eAo9gReR3pXxy5PG0AradXapWImzZesjmYeLSswCtxQPGx67bhuZcN1Cb nQjwovPMDRsePhVTcjJphOiLwPWBsAE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1715872804; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KpWrmdkS82fp1P79fgCNgUDo8Z/aRlQU+dsHdyP6PG0=; b=cMnggtsoipFepEMC/MX4D1fQRqJIaWA04ewl1DATPdVtpI36uorBF4zM8tfgfsCW10rhx6 XKZZ2FrGkNuIbrCA== Received: by hawking.nue2.suse.org (Postfix, from userid 17005) id 5FB884AAD2C; Thu, 16 May 2024 17:20:04 +0200 (CEST) From: Andreas Schwab To: Mike FABIAN Cc: David Paleino , Florian Weimer , libc-alpha@sourceware.org, tech@cademiasiciliana.org Subject: Re: [PATCH] localedata: add new locales scn_IT and scn_US In-Reply-To: (Mike FABIAN's message of "Thu, 16 May 2024 17:03:58 +0200") References: <20240427233734.0cb6edff@betelgeuse.hanskalabs.net> <87mspcux2z.fsf@oldenburg.str.redhat.com> <20240501020934.7771d8c8@betelgeuse.hanskalabs.net> <87msotn8uo.fsf@oldenburg.str.redhat.com> <20240514225815.64de3afc@betelgeuse.hanskalabs.net> <20240514230847.20b64f52@betelgeuse.hanskalabs.net> <20240515203946.03aa36cf@betelgeuse.hanskalabs.net> X-Yow: Are you still SEXUALLY ACTIVE? Did you BRING th' REINFORCEMENTS? Date: Thu, 16 May 2024 17:20:04 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Level: X-Spamd-Result: default: False [-4.20 / 50.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-0.999]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email] X-Spam-Score: -4.20 X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mai 16 2024, Mike FABIAN wrote: > Does it depend on the exact input how the binary search goes on? It depends on the translit data, how the midway point moves through it. > bash-5.2# echo 'ḌḌ'|iconv -f UTF-8 -t ASCII//translit > ^C > bash-5.2# > > uses 100% CPU and never stops until I stop it with Control-C. else if (cnt > 0) /* This means that the input buffer contents matches a prefix of an entry. Since we cannot match it unless we get more input, we will tell the caller about it. */ return __GCONV_INCOMPLETE_INPUT; This should only return when the end of the input string is reached, otherwise it's a non-match and it should go on to try other translit patterns. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."