From owner-freebsd-hackers Sat May 8 13:17:50 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from whizkidtech.net (r30.bfm.org [208.18.213.126]) by hub.freebsd.org (Postfix) with ESMTP id 66E1614E98 for ; Sat, 8 May 1999 13:17:45 -0700 (PDT) (envelope-from adam@whizkidtech.net) Received: (from adam@localhost) by whizkidtech.net (8.9.2/8.9.2) id PAA00371; Sat, 8 May 1999 15:17:33 -0500 (CDT) (envelope-from adam) Date: Sat, 8 May 1999 15:17:01 -0500 From: "G. Adam Stanislav" To: Thomas David Rivers Cc: dima@tejblum.dnttm.rssi.ru, freebsd-hackers@FreeBSD.ORG Subject: Re: wc* routines Message-ID: <19990508151701.A359@whizkidtech.net> References: <19990507201101.A216@whizkidtech.net> <199905080401.AAA01012@lakes.dignus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <199905080401.AAA01012@lakes.dignus.com>; from Thomas David Rivers on Sat, May 08, 1999 at 12:01:55AM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, May 08, 1999 at 12:01:55AM -0400, Thomas David Rivers wrote: > As far as "finding the file" - I suggest you look at how the locale > library does this (in fact, I suggest you simply "steal" much of this > from there) - basically, define a location in /usr/include/paths.h. > Look there for the file... if it's not there - well, you didn't > find it. Ah, guess what. I have just reread the specs, and realized that all isw* and tow* routines are supposed to be locale dependent. Arghhhhhh. That does not make much sense to me, but that's the spec. So, all I have to do is things like iswXXXX(c) { return isXXXX(c); } for all of them. This is weird because it simply duplicates existing functions. Of course it makes my current job much simpler... Once I am done with that, I will continue my work on locale indenpendent functions, except, obviously, not as part of the C library. Unless we can convince the Posix people to make those part of the standard too... After all, they will be available under BSD licence for anyone to port anywhere. Adam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message