Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: math functions
- X-seq: zsh-workers 7977
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: math functions
- Date: Tue, 21 Sep 1999 10:25:00 +0200 (MET DST)
- In-reply-to: Sven Wischnowsky's message of Tue, 21 Sep 1999 10:20:19 +0200 (MET DST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Ouch, I forgot to diff again after the last change...
And I forgot to say that the flag for `zmodload' to auto-load math
functions is `-f' as in `zmodload -af example sum length'.
Bye
Sven
--- os/module.c Tue Sep 21 10:21:30 1999
+++ Src/module.c Tue Sep 21 10:22:40 1999
@@ -1776,6 +1776,7 @@
f->name = ztrdup(nam);
f->module = ztrdup(module);
+ f->flags = 0;
if (addmathfunc(f)) {
zsfree(f->name);
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author