Re: [Chicken-users] utc-time->seconds and local-time->seconds rationale?

2014-05-07 Thread Michele La Monaca
daylight is non-zero if Daylight Savings Time is in effect. Non-zero doesn't mean 1. On Thu, May 8, 2014 at 12:52 AM, John Cowan wrote: > Michele La Monaca scripsit: > >> Attached a fixed and tested (cygwin, solaris) patch. > > Thanks for testing. What was wrong with multiplying daylight by 3600

Re: [Chicken-users] utc-time->seconds and local-time->seconds rationale?

2014-05-07 Thread John Cowan
Michele La Monaca scripsit: > Attached a fixed and tested (cygwin, solaris) patch. Thanks for testing. What was wrong with multiplying daylight by 3600 rather than introducing a conditional branch? -- John Cowan http://www.ccil.org/~cowanco...@ccil.org If a traveler were infor

Re: [Chicken-users] [Chicken-hackers] CHICKEN 4.9.0rc1 is available

2014-05-07 Thread Michele La Monaca
Hi, > Could you try the attached patch instead? I've tested it on Debian > (with zsh and csh), OpenIndiana, Haiku, Cygwin and Mingw-msys. Works fine on Solaris. > What shell is Solaris really using? Solaris 10 -> Bourne shell. Solaris 11 -> Korn shell. I would like to make my OpenIndiana > mi

Re: [Chicken-users] utc-time->seconds and local-time->seconds rationale?

2014-05-07 Thread Michele La Monaca
Attached a fixed and tested (cygwin, solaris) patch. Regards, Michele On Wed, May 7, 2014 at 4:46 PM, John Cowan wrote: > Peter Bex scripsit: > >> In my opinion, large parts of the POSIX unit should die. They're broken, >> at the wrong level of abstraction and just generally unschemely. The >>

Re: [Chicken-users] utc-time->seconds and local-time->seconds rationale?

2014-05-07 Thread Evan Hanson
On 2014-05-07 12:01, "Jörg F. Wittenberger" wrote: > However for the case at hand I'd even love a notation which allows > to attach a custom message to the deprecated "type". Possibly like > this: I agree, an annotation for deprecation warnings would be valuable. Currently, it's totally on the us

Re: [Chicken-users] [Chicken-hackers] CHICKEN 4.9.0rc1 is available

2014-05-07 Thread Peter Bex
On Tue, May 06, 2014 at 10:23:42PM +, Mario Domenech Goulart wrote: > Hi Michele, > > Many thanks. Attached is your patch signed-off (tested on Linux). Hi guys, Thanks for your efforts. Unfortunately, this patch breaks the mingw-msys build. The msys tools all require a "faux Unix" path, l

Re: [Chicken-users] utc-time->seconds and local-time->seconds rationale?

2014-05-07 Thread John Cowan
Peter Bex scripsit: > In my opinion, large parts of the POSIX unit should die. They're broken, > at the wrong level of abstraction and just generally unschemely. The > reason these time things are breaking is because the libc time access > is so varying across operating systems. In this case, i

Re: [Chicken-users] utc-time->seconds and local-time->seconds rationale?

2014-05-07 Thread Jörg F. Wittenberger
Hi Peter, I agree with your assessment. It suggested an idea to me, which may or may not be that good: Use the type system to deprecate those parts know to be broken. Maybe it would even be a good idea to extend the type system for that purpose. By now all you can do is (: deprecated)

Re: [Chicken-users] Chicken Spring Gathering in Norway

2014-05-07 Thread Juergen Lorenz
Hi Kris and Peder, Hi Kris and Peder, >I would just like to thank everybody who attended the "Viking CHICKEN >spring event" last week for a wonderful time! Thanks to everyone for >making the event into what it became. Peder and I really enjoyed having >such a friendly and skilled

Re: [Chicken-users] utc-time->seconds and local-time->seconds rationale?

2014-05-07 Thread Peter Bex
On Tue, May 06, 2014 at 11:54:35PM +0200, Michele La Monaca wrote: > On a side note, I've noticed these discrepancies on solaris, cygwin and mingw: > > (use posix) > (print (time->string (seconds->local-time) "%z") >" -> " >(vector-ref (seconds->local-time) 9)) > > +0200 -> -7200