I was checking "sb-ext::run-program", when I found this in src/interp/nlib.lisp:

#+:sbcl
(defun delete-directory (dirname)
   #-:win32 (sb-ext::run-program "/bin/rm" (list "-r" dirname) :search t)
   #+:win32 (obey (concat "rmdir /q /s " "\"" dirname "\""))
  )

First, the win32 case doesn't run before or after my recent "OBEY" fix.

Second, we have our own in-house |remove_directory| implemented in C.
Are there systems that this C implementation is rejected by 'configure'?

Third, should we really supply our own C implementation, which may be buggy?


It's a pity that filesystem operations are not part of Common Lisp
standard, but there are third party library that aggregates
implementation dependent functions.  Shall we use that Lisp library
or a portable C library?

- Qian

--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/74c660ab-7d11-f5c3-291e-5e50337e15fa%40gmail.com.

Reply via email to