Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How about MODDIR being configure'able?
- X-seq: zsh-workers 16050
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Raúl Núñez de Arenas Coronado <dervishd@xxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: Re: How about MODDIR being configure'able?
- Date: Mon, 15 Oct 2001 15:33:27 +0000
- In-reply-to: <E15t82J-0007k1-00@DervishD>Comments: In reply to Raúl Núñez de Arenas Coronado <dervishd@xxxxxxxxxxxx> "How about MODDIR being configure'able?" (Oct 15, 3:44pm)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <E15t82J-0007k1-00@DervishD>
On Oct 15, 3:44pm, Raúl Núñez de Arenas Coronado wrote:
}
} I would like to set up the MODDIR (directory where binary modules
} of ZSH reside) through 'configure', and not by defining MODDIR prior
} to compile and install using make.
MODDIR is $(libdir)/zsh/$(VERSION). You can't change the zsh/$(VERSION)
part without breaking things, and nothing else is installed in $(libdir),
so the module path is as completely configurable as possible with
configure --libdir=...
} Moreover, there is a call to mktemp that should be replaced with
} a call to mkstemp in 'utils.c' for safety.
No, we've been over this before; there's even a comment in utils.c to
this effect: zsh uses mktemp() in a safe way. Specifically, the names
created by gettempname() are always opened with O_CREAT later, so if
they exist the open() call will fail. Creating them with mkstemp(), on
the other hand, causes problems with redirections and NO_CLOBBER.
} BTW, is there any place where I can get the current development
} version of ZSH for testing?
It's available at http://sourceforge.net/projects/zsh/. Details can be
found in the file Etc/FAQ in the distribution you have; if it's not in
there, you've got a really old distribution.
(Hey, Peter, why isn't SourceForge mentioned in the META-FAQ document?)
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author