[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] [patch] remove the initial check on directory exista
From: |
John Cowan |
Subject: |
Re: [Chicken-users] [patch] remove the initial check on directory existance |
Date: |
Sun, 3 Feb 2013 10:22:45 -0500 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Peter Bex scripsit:
> Better to either keep it the way it is, change the semantics and
> breaking compat (so be it), or convert to keyword args and make it an
> optional feature (my least favorite alternative).
I'm not a big fan of keyword args either, but an optional second argument
that makes it atomic wouldn't kill anybody.
(create-directory pathname [ atomic? ] )
Create the directory specified by pathname. If the atomic? argument is
present and is true, do this atomically, raising an error if the directory
already exists. Otherwise, do nothing if the directory already exists.
Raise an error in all other cases where the directory cannot be created.
--
John Cowan http://www.ccil.org/~cowan address@hidden
"After all, would you consider a man without honor wealthy, even if his
Dinar laid end to end would reach from here to the Temple of Toplat?"
"No, I wouldn't", the beggar replied. "Why is that?" the Master asked.
"A Dinar doesn't go very far these days, Master. --Kehlog Albran
Besides, the Temple of Toplat is across the street." The Profit
- [Chicken-users] [patch] remove the initial check on directory existance, richo, 2013/02/02
- Re: [Chicken-users] [patch] remove the initial check on directory existance, Peter Bex, 2013/02/02
- Re: [Chicken-users] [patch] remove the initial check on directory existance, Mario Domenech Goulart, 2013/02/02
- Re: [Chicken-users] [patch] remove the initial check on directory existance, Jim Ursetto, 2013/02/02
- Re: [Chicken-users] [patch] remove the initial check on directory existance, richo, 2013/02/03
- Re: [Chicken-users] [patch] remove the initial check on directory existance, Peter Bex, 2013/02/03
- Re: [Chicken-users] [patch] remove the initial check on directory existance, richo, 2013/02/03
- Re: [Chicken-users] [patch] remove the initial check on directory existance,
John Cowan <=
- Re: [Chicken-users] [patch] remove the initial check on directory existance, Peter Bex, 2013/02/03
- Re: [Chicken-users] [patch] remove the initial check on directory existance, John Cowan, 2013/02/03
- Re: [Chicken-users] [patch] remove the initial check on directory existance, Jim Ursetto, 2013/02/03
- Re: [Chicken-users] [patch] remove the initial check on directory existance, Felix, 2013/02/03
- Re: [Chicken-users] [patch] remove the initial check on directory existance, Felix, 2013/02/03