[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mkstemp strange behavior
From: |
José Roberto B . de A . Monteiro |
Subject: |
Re: mkstemp strange behavior |
Date: |
Fri, 12 Aug 2005 17:47:01 -0300 |
User-agent: |
Mutt/1.5.9i |
On Fri, Aug 12, 2005 at 10:03:42AM +0200, Tomas Zerolo wrote:
> On Wed, Aug 10, 2005 at 04:24:47PM -0300, Jos? Roberto B. de A. Monteiro
> wrote:
> > On Wed, Aug 10, 2005 at 01:54:31PM -0400, Alan Grover wrote:
> > > I ran into this too. My reasoning was something like:
> > >
> > > The string, "/tmp/XXXXXX" is constructed at reader time. [...]
> [...]
> > Thanks Alan, I think it is the reason, so it worked using:
> >
> > (let ((filename (string-copy "/tmp/XXXXXX"))
> > (f (mkstemp! filename)))
> > ...)
>
> Shouldn't that be (let*...)?
Yes, sorry... typing error...
>
> (Reminder: with let* later bindings can `see' earlier ones, and you want
> this with f).
>
> Regards
> -- tomás