Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: math functions



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