#623 PROBE-FILE

pending-invalid
Sam Steingold
clisp (525)
5
2011-12-21
2011-12-21
Anonymous
No

I noticed a compliance issue with GNU CLISP 2.49 for Windows.
(probe-file pathname) signalls an error instead of NIL when the pathname does not refer to an actual file.
An error can only be signalled if (wild-pathname-p pathname) is true which was not the case.

[14]> (wild-pathname-p "c:/Program Files/")

NIL
[15]> (file-exists-p "c:/Program Files/")

*** - PROBE-FILE: No file name given: #P"C:\\Program Files\\"
The following restarts are available:
ABORT :R1 Abort main loop
Break 1 [16]>

Discussion

  • Sam Steingold
    Sam Steingold
    2011-12-21

    This bug report is now marked as "pending"/"invalid".
    This means that we think that the problem you report is not a problem with CLISP.
    Unless you - the reporter - act within 2 weeks, the bug will be permanently closed.
    Sorry about the inconvenience - we hope your silence means that you agree that this is not a bug in CLISP.

     
  • Sam Steingold
    Sam Steingold
    2011-12-21

    • assigned_to: haible --> sds
    • status: open --> pending-invalid