chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] string->time bug


From: Hans Bulfone
Subject: [Chicken-users] string->time bug
Date: Sun, 10 Feb 2008 01:52:15 +0100
User-agent: Mutt/1.5.16 (2007-06-09)

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.

bye,
hans.




reply via email to

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