gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: gcl, shared libraries, was [Axiom-developer] Lisp portab


From: Camm Maguire
Subject: [Gcl-devel] Re: gcl, shared libraries, was [Axiom-developer] Lisp portability
Date: 24 May 2007 09:51:15 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!

Gabriel Dos Reis <address@hidden> writes:

> Camm --
> 
>   I believe GCL-2.6.8pre is missing the ANSI Lisp function 
> 
>       ensure-directories-exist
> 

among many others, but is in 2.7.0.  Do you need a backport?  It is
simple. 

> 
> As a subsidiary question, how do you delete a directory in ANSI Lisp?

I see no such function in the standard, but am cc'ing Paul Dietz.

I therefore would suggest (system (format nil "rm -rf ~s" x))

Just to repeat, 2.7.0 is moving to the following usage of 'directory
akin to clisp unless someone objects:
=============================================================================
COMPILER>>(directory "/tmp")

NIL
COMPILER>>(directory "/tmp/")

(#P"/tmp/")
COMPILER>>(directory "/tmp/*")

(#P"/tmp/#gazonk_27762_21.c#" #P"/tmp/#ii#" #P"/tmp/#q.h#")
=============================================================================

This is what 2.6 has:

=============================================================================
>(directory "/tmp")

(#p"/tmp")

>(directory "/tmp/")

(#p"/tmp/#gazonk_27762_21.c#" #p"/tmp/#ii#" #p"/tmp/#q.h#")

>(directory "/tmp/*")

(#p"/tmp/#gazonk_27762_21.c#" #p"/tmp/#ii#" #p"/tmp/#q.h#")

>
=============================================================================

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]