Subject: Re: finger
To: None <itojun@iijlab.net>
From: Kimmo Suominen <kim@tac.nyc.ny.us>
List: tech-userlevel
Date: 09/11/2002 08:52:04
I thought the C locale is the default when setlocale(3) is not called.
Is it not?  Or what is the abuse of the C local that my patch introduced?
I don't understand, so please elaborate.

+ Kim


| From:    itojun@iijlab.net
| Date:    Wed, 11 Sep 2002 13:21:32 +0900
|
|
| >Here is a new patch for finger.
| >This patch is not fine (because of rfc1288),
| >but this is better than using setlocale().
|
| >+#define ascii_isspace(c) ((c)==' '||(c)=='\f'||(c)=='\n'||(c)=='r'||
| 	\
| >+			  (c)=='t'||(c)=='\v')
|
| 	't' -> '\t'
| 	'r' -> '\r'
|
| 	other than that, i highly prefer this patch, than the one committed
| 	yesterday.  hardcoding locale name is bad, and kim's code is abusing
| 	ISO C locale framework.
|
| itojun
|