From owner-freebsd-hackers Tue Mar 11 04:23:37 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA24398 for hackers-outgoing; Tue, 11 Mar 1997 04:23:37 -0800 (PST) Received: from Guard.Polynet.Lviv.UA (Guard.PolyNet.Lviv.UA [194.44.138.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA24321 for ; Tue, 11 Mar 1997 04:22:55 -0800 (PST) Received: (from smap@localhost) by Guard.Polynet.Lviv.UA (8.8.4/8.6.12) id MAA16644 for ; Tue, 11 Mar 1997 12:22:04 GMT Received: from netsurfer.lp.lviv.ua(192.168.0.3) by Guard.Polynet.Lviv.UA via smap (V2.0alpha) id xma016642; Tue, 11 Mar 97 14:21:59 +0200 Received: (from smap@localhost) by NetSurfer.lp.lviv.ua (8.8.5/8.6.12) id OAA21499 for ; Tue, 11 Mar 1997 14:21:58 +0200 (EET) Message-Id: <199703111221.OAA21499@NetSurfer.lp.lviv.ua> Received: from ws32.lp.lviv.ua(192.168.0.32) by NetSurfer.lp.lviv.ua via smap (V2.0beta) id xma021497; Tue, 11 Mar 97 14:21:47 +0200 Comments: Authenticated sender is From: "Adrian Pavlykevych" To: hackers@freebsd.org Date: Tue, 11 Mar 1997 14:25:23 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Q: Locale - is it possible to change on the fly? Reply-to: pam@polynet.lviv.ua Priority: normal X-mailer: Pegasus Mail for Windows (v2.42a) Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi everybody! I have nonstandard question: is it possible to change locale settings inside proces on the fly? I need to sort some data according to one collation order and some according to other. Will strcoll and other locale-enabled functions be changing their behavior, if I'll be changing locale before their invocations ? TIA, Adrian Pavlykevych | State University "Lvivska Polytechnica" System Administrator | 12, St. Bandery str, Campus Computer Network | Lviv, 290646 email: pam@polynet.lviv.ua | Ukraine tel/fax:+380 (322) 742041 |