chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] string->time bug


From: Kon Lovett
Subject: Re: [Chicken-users] string->time bug
Date: Sun, 10 Feb 2008 07:25:48 -0800


On Feb 9, 2008, at 4:52 PM, Hans Bulfone wrote:

hi,

i've just found a problem in string->time (in posixunix.scm):

i think

(strptime tim fmt (make-vector 10 #f))

should be

(strptime (##sys#make-c-string tim)
          (##sys#make-c-string fmt)
          (make-vector 10 #f))

to ensure the strings are null-terminated.

Yes, thank you.


bye,
hans.


_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users

Best Wishes,
Kon






reply via email to

[Prev in Thread] Current Thread [Next in Thread]