DragonFly BSD
DragonFly bugs List (threaded) for 2005-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: isprint(3)


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 2 May 2005 09:50:57 -0700 (PDT)

:I see the problem. isprint is currently true for:
:isalnum() || ispunc() || isblank()
:
:\t is in isblank(), but it is also a control char. I have to investigate
:whether it is better to not include blank (only space), split the define
:into two parts are explicitly mask off cntrl. The first should be allowed
:by SUS for the POSIX locale, but I have to check it carefully.
:
:Joerg

    It seems to me that the most generic solution is to mask off cntrl.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]