Hi, On Thu, 7 Dec 2023 13:21:12 +0200 Lassi Kortela <la...@lassi.io> wrote:
>> chicken time current-process-milliseconds > > Thanks. Here's a grep of current-milliseconds in > eggs-5-latest. Anybody got time to patch some? > > dbus/0.97/tests/run.scm > gochan/5.2.10/chibi-compat.scm > gochan/5.2.10/chicken-module5.scm > gochan/5.2.10/gochan-record-printer.scm > gochan/5.2.10/gochan.scm > gochan/5.2.10/readme.md > gochan/5.2.10/tests/fake-search.scm > gochan/5.2.10/tests/run.scm > gochan/5.2.10/tests/stress.scm > hopefully/0.2.6/tests/run.scm > http-session/2.10/http-session.scm > matchable/1.1/matchable-test.scm > matrico/0.5rel/matrico.scm > nrepl/5.0.8/readme.md > openssl/2.2.5/openssl.socket.scm > pigeon-hole/0.2.8/tests/run.scm > postgresql/4.1.4/postgresql.scm > r7rs/1.0.9/scheme.time.scm > salmonella-feeds/0.1.1/salmonella-feeds.scm > sendfile/1.11/sendfile.scm > sendfile/1.11/strategies/mmap.scm > sendfile/1.11/strategies/rw.scm > simple-timer/0.1.2/timeout.scm > socket/0.3.3/socket.scm > sqlite3pth/0.2.6/sqlite3pth.scm > srfi-18/0.1.7/srfi-18.scm > srfi-18/0.1.7/tests/mutex-test.scm > srfi-19/4.9.5/srfi-19-tm.scm > test/1.2/test-support.scm Please note that simply replacing current-milliseconds with current-process-milliseconds will break code in older CHICKEN versions (< 5.3.0). See the thread whose start is https://lists.nongnu.org/archive/html/chicken-users/2023-02/msg00003.html for more information. If you want to get rid of the warning, use something like: (cond-expand ((or chicken-5.0 chicken-5.1 chicken-5.2) (define current-process-milliseconds current-milliseconds)) (else)) (taken from sendfile 2.0 -- the openssl egg has similar code.) All the best. Mario -- http://parenteses.org/mario