Changeset 7864 in project for chicken/trunk
- Timestamp:
- 01/22/08 23:52:14 (13 years ago)
- Location:
- chicken/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
chicken/trunk/NEWS
r7839 r7864 11 11 - On sparc64 architectures more than 126 procedure arguments are allowed 12 12 [Thanks to Peter Bex] 13 - posix unit: "seconds->string" and "time->string" have now their trailing 14 #\newline character removed. THIS IS A BACKWARD-INCOMPATIBLE CHANGE. 13 15 14 16 2.739 -
chicken/trunk/chicken-bug.scm
r7017 r7864 32 32 (print "\n--------------------------------------------------\n") 33 33 (print "This is a bug report generated by chicken-bug(1).\n") 34 (print "Date:\t" (seconds->string (current-seconds)) "\n ")34 (print "Date:\t" (seconds->string (current-seconds)) "\n\n") 35 35 (printf "User information:\t~s~%~%" (user-information (current-user-id))) 36 36 (print "Host information:\n") -
chicken/trunk/manual/Unit posix
r7036 r7864 940 940 941 941 Converts the local time represented in {{SECONDS}} into a string 942 of the form {{"Tue May 21 13:46:22 1991 \n"}}.942 of the form {{"Tue May 21 13:46:22 1991"}}. 943 943 944 944 ==== seconds->utc-time … … 962 962 Converts the broken down time represented in the 10 element vector 963 963 {{VECTOR}} into a string of the form {{"Tue May 21 13:46:22 964 1991 \n"}}.964 1991"}}. 965 965 966 966 -
chicken/trunk/posixunix.scm
r7784 r7864 1743 1743 (let ([str (ctime secs)]) 1744 1744 (unless str (##sys#error 'seconds->string "cannot convert seconds to string" secs)) 1745 str) ) ))1745 (##sys#substring str 0 (fx- (##sys#size str) 1)))))) 1746 1746 1747 1747 (define time->string … … 1752 1752 (let ([str (asctime tm)]) 1753 1753 (unless str (##sys#error 'time->string "cannot convert time vector to string" tm)) 1754 str) ) ))1754 (##sys#substring str 0 (fx- (##sys#size str) 1)))))) 1755 1755 1756 1756 (define (local-time->seconds tm) -
chicken/trunk/posixwin.scm
r7189 r7864 1576 1576 (let ([str (ctime secs)]) 1577 1577 (unless str (##sys#error 'seconds->string "cannot convert seconds to string" secs)) 1578 str) ) ))1578 (##sys#substring str 0 (fx- (##sys#size str) 1)))))) 1579 1579 1580 1580 (define time->string … … 1585 1585 (let ([str (asctime tm)]) 1586 1586 (unless str (##sys#error 'time->string "cannot time vector to string" tm)) 1587 str) ) ))1587 (##sys#substring str 0 (fx- (##sys#size str) 1)))))) 1588 1588 1589 1589 (define (local-time->seconds tm)
Note: See TracChangeset
for help on using the changeset viewer.