(quicklisp:quickload :any-library) fails, ECL 11.1.1, Windows #46

Closed
avodonosov opened this Issue Dec 20, 2011 · 6 comments

Comments

Projects
None yet
2 participants
@quicklisp

This comment has been minimized.

Show comment Hide comment
@quicklisp

quicklisp Dec 20, 2011

Owner

Why does it fail?

Owner

quicklisp commented Dec 20, 2011

Why does it fail?

@avodonosov

This comment has been minimized.

Show comment Hide comment
@avodonosov

avodonosov Dec 20, 2011

Sorry, that's all info I have for now. I hope maybe Juan Jose will be able to quickly understand it.

If I have more info I will report here.

Sorry, that's all info I have for now. I hope maybe Juan Jose will be able to quickly understand it.

If I have more info I will report here.

@avodonosov

This comment has been minimized.

Show comment Hide comment
@avodonosov

avodonosov Dec 21, 2011

Tracked it down to the functino find-valid-system-index in the file local-projects.lisp.

It tries to do

(when (and probed
           (<= (directory-write-date pathname)
               (file-write-date probed)))
  probed)

without taking into account that directory-write-date may return nil (as it is implemented using file-write-date).

BTW, the directory it tests, C:/Users/anton/quicklisp/local-projects/, exists.

Tracked it down to the functino find-valid-system-index in the file local-projects.lisp.

It tries to do

(when (and probed
           (<= (directory-write-date pathname)
               (file-write-date probed)))
  probed)

without taking into account that directory-write-date may return nil (as it is implemented using file-write-date).

BTW, the directory it tests, C:/Users/anton/quicklisp/local-projects/, exists.

@quicklisp

This comment has been minimized.

Show comment Hide comment
@quicklisp

quicklisp Dec 28, 2011

Owner

Thanks. I'll try to find out how to get the directory-write-date in ECL for Windows.

Owner

quicklisp commented Dec 28, 2011

Thanks. I'll try to find out how to get the directory-write-date in ECL for Windows.

@quicklisp

This comment has been minimized.

Show comment Hide comment
@quicklisp

quicklisp Dec 30, 2011

Owner

According to Juanjo this is a bug in file-write-date in Windows ECL. It should be fixed very soon.

Owner

quicklisp commented Dec 30, 2011

According to Juanjo this is a bug in file-write-date in Windows ECL. It should be fixed very soon.

@avodonosov

This comment has been minimized.

Show comment Hide comment
@avodonosov

avodonosov Dec 31, 2011

Good.

file-write-date is allowed to return NIL by CLHS, so probably quicklisp code should handle this situation somehow.

Good.

file-write-date is allowed to return NIL by CLHS, so probably quicklisp code should handle this situation somehow.

@quicklisp quicklisp closed this Sep 30, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment