Re: [darcs-devel] Re: test results for 1.04pre4 on FreeBSD 4.10

2005-09-19 Thread Tommy Pettersson
Replying to myself: With GHC's new isPrint behavior something bad could happen if a user sets DARCS_USE_ISPRINT=1 and has a locale with control codes where unicode has printables. I don't know if such encoding exists. I just occurred to me that something bad can happen even without

Re: [darcs-devel] Re: test results for 1.04pre4 on FreeBSD 4.10

2005-09-18 Thread David Roundy
On Sat, Sep 17, 2005 at 10:30:26AM +0200, Tommy Pettersson wrote: which is the desired result. I guess you would get À is printable even with LC_LANG=C. In that case the GHC library has probably changed its meaning about what isPrint means in a way that doesn't agree with libc. (Or you are

Re: [darcs-devel] Re: test results for 1.04pre4 on FreeBSD 4.10

2005-09-18 Thread Taral
On 9/18/05, David Roundy [EMAIL PROTECTED] wrote: Perhaps you could experiment with using the FFI to call isprint? foreign import ccall unsafe static ctype.h isprint isprint :: CInt - CInt I suspect, though, that the isprint interface can't really work with UTF-8... The functions for

Re: [darcs-devel] Re: test results for 1.04pre4 on FreeBSD 4.10

2005-09-17 Thread Tommy Pettersson
On Fri, Sep 16, 2005 at 11:40:19PM +, Mark Stosberg wrote: On 2005-09-09, Tommy Pettersson [EMAIL PROTECTED] wrote: On Fri, Sep 09, 2005 at 03:17:47AM +, Mark Stosberg wrote: I tried this and got the same result: DARCS_DONT_ESCAPE_ISPRINT=0 DARCS_DONT_ESCAPE_8BIT=0

[darcs-devel] Re: test results for 1.04pre4 on FreeBSD 4.10

2005-09-16 Thread Mark Stosberg
On 2005-09-09, Tommy Pettersson [EMAIL PROTECTED] wrote: On Fri, Sep 09, 2005 at 03:17:47AM +, Mark Stosberg wrote: I tried this and got the same result: DARCS_DONT_ESCAPE_ISPRINT=0 DARCS_DONT_ESCAPE_8BIT=0 DARCS_DONT_ESCAPE_EXTRA=0 DARCS_DONT_ESCAPE_TRAILING_SPACNT_ESCAPE_ANYTHING=0

Re: [darcs-devel] Re: test results for 1.04pre4 on FreeBSD 4.10

2005-09-09 Thread Tommy Pettersson
On Fri, Sep 09, 2005 at 03:17:47AM +, Mark Stosberg wrote: I tried this and got the same result: DARCS_DONT_ESCAPE_ISPRINT=0 DARCS_DONT_ESCAPE_8BIT=0 DARCS_DONT_ESCAPE_EXTRA=0 DARCS_DONT_ESCAPE_TRAILING_SPACNT_ESCAPE_ANYTHING=0 prove printer.pl O, I'm sorry, I forgot to mention the

[darcs-devel] Re: test results for 1.04pre4 on FreeBSD 4.10

2005-09-08 Thread Mark Stosberg
On 2005-09-03, Tommy Pettersson [EMAIL PROTECTED] wrote: On Fri, Sep 02, 2005 at 10:18:49PM +, Mark Stosberg wrote: version: 1.04pre4 OS: FreeBSD 4.10 perl: 5.8.0 results of gmake test: Everything passed, except printer.pl fails two tests, below. Let me know if some Perl help is