From owner-freebsd-hackers Sat Sep 20 03:51:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA29222 for hackers-outgoing; Sat, 20 Sep 1997 03:51:35 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id DAA29215 for ; Sat, 20 Sep 1997 03:51:31 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id MAA12313; Sat, 20 Sep 1997 12:51:29 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id MAA28350; Sat, 20 Sep 1997 12:47:15 +0200 (MET DST) Message-ID: <19970920124714.JQ07978@uriah.heep.sax.de> Date: Sat, 20 Sep 1997 12:47:14 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@FreeBSD.ORG Cc: reichert@numachi.com (Brian Reichert) Subject: Re: Probably an XFree question, but... References: <19970919164234.25786@numachi.com> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <19970919164234.25786@numachi.com>; from Brian Reichert on Sep 19, 1997 16:42:34 -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Brian Reichert wrote: > In , we see > > _XFUNCPROTOBEGIN > extern char *_Xsetlocale( > #if NeedFunctionPrototypes > int /* category */, > _Xconst char* /* name */ > #endif > ); > _XFUNCPROTOEND > > #define setlocale _Xsetlocale > > yet I cannot find any symbol with the name '_Xsetlocale' in any of > the X libreabries, not are there any further references in any of > X's headers. It will only get into effect if X_LOCALE is defined. X_LOCALE is only defined for platforms that don't have a usable own locale implementation. FreeBSD does. See xc/lib/X11/SetLocale.c for the implementation details (in the X11 tree, of course :). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)