[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: i guess we're frozen & stuff
From: |
Ludovic Courtès |
Subject: |
Re: i guess we're frozen & stuff |
Date: |
Tue, 11 Aug 2009 17:54:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Greg Troxel <address@hidden> writes:
> FAIL: bytevectors.test: 2.9 Operations on Strings: string->utf8 [latin-1]
> FAIL: bytevectors.test: 2.9 Operations on Strings: utf8->string [latin-1]
Does libunistring's "make check" pass on this platform?
> FAIL: i18n.test: locale objects: make-locale with unknown locale
Can you try this (run "./meta/guile"):
(use-modules (ice-9 i18n))
(make-locale LC_ALL "does-not-exist")
... and report the result?
> FAIL: i18n.test: nl-langinfo et al.: locale-day (1 arg)
What does "(map locale-day (map 1+ (iota 7)))" return?
> FAIL: i18n.test: nl-langinfo et al.: locale-day (2 args)
What does this return?
(map (lambda (day)
(locale-day day (make-locale LC_ALL "C")))
(map 1+ (iota 7)))
> FAIL: i18n.test: nl-langinfo et al.: locale-day (2 args, using
> `%global-locale')
and:
(map (lambda (day)
(locale-day day %global-locale))
(map 1+ (iota 7)))
> FAIL: bytevectors.test: 2.9 Operations on Strings: string->utf8 [latin-1]
> FAIL: bytevectors.test: 2.9 Operations on Strings: utf8->string [latin-1]
Again, might be a libunistring issue.
And why were some test files evaluated twice?!
> ERROR: srfi-19.test: SRFI date/time library: string->date understands days
> and months - arguments: ((misc-error string->date "TIME-ERROR type ~A: ~S"
> (bad-date-template-string ("Invalid string for " #<program
> priv:locale-long-weekday->index (string)>)) #f))
What does this do:
(use-modules (srfi srfi-19))
(let ((d (string->date "Saturday, December 9, 2006"
"~A, ~B ~d, ~Y")))
(date->time-utc (make-date (date-nanosecond d)
(date-second d)
(date-minute d)
(date-hour d)
(date-day d)
(date-month d)
(date-year d)
0)))
> ERROR: srfi-19.test: SRFI date/time library: string->date works on Sunday -
> arguments: ((misc-error string->date "TIME-ERROR type ~A: ~S"
> (bad-date-template-string ("Invalid string for " #<program
> priv:locale-abbr-weekday->index (string)>)) #f))
And this:
(use-modules (srfi srfi-19))
(let* ((str "Sun, 05 Jun 2005 18:33:00 +0200")
(date (string->date str "~a, ~d ~b ~Y ~H:~M:~S ~z")))
(date->string date))
I also noticed another problem (x86_64-unknown-linux-gnu):
--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> (string=? "\u0100\u0101\x0102" "\u0100\u0101\x0102")
Backtrace:
In unknown file:
?: 0* [#<vm 7fc03c042ff0> #<program 7fc0349061c0 at <unknown port>:4:0 ()>]
5: 1* [#<program 7fc0349061c0 at <unknown port>:4:0 ()>]
?: 2* [string=? "\u0100\u0101\x0102" "\u0100\u0101\x0102"]
ERROR: In procedure string=?:
ERROR: Invalid read access of chars of wide string: "\u0100\u0101\x0102"
--8<---------------cut here---------------end--------------->8---
It's not a regression strictly speaking, but still. Mike? :-)
Thanks,
Ludo'.
- Re: i guess we're frozen & stuff, (continued)
Re: i guess we're frozen & stuff, Greg Troxel, 2009/08/11
- Re: i guess we're frozen & stuff,
Ludovic Courtès <=
Re: i guess we're frozen & stuff, Greg Troxel, 2009/08/11
Re: i guess we're frozen & stuff, Ken Raeburn, 2009/08/11
Re: i guess we're frozen & stuff, Ludovic Courtès, 2009/08/11
Re: i guess we're frozen & stuff, Greg Troxel, 2009/08/11
Re: i guess we're frozen & stuff, Ludovic Courtès, 2009/08/11
Re: i guess we're frozen & stuff, Greg Troxel, 2009/08/12
Re: i guess we're frozen & stuff, Ludovic Courtès, 2009/08/12