jed-users mailing list

[2004 Date Index] [2004 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Template function


On Wed, Dec 04, 2002 at 02:16:37AM -0500, John E. Davis wrote:
> Paul Boekholt wrote:
> >However this
> >  1;2;5; ()+()-(); sprintf ("%d"); message;
> >will output -6.

> It is important to point out that you should always explicitly pass
> arguments to functions that take a variable number of arguments.
> "sprintf" is one such example.  I am surprised that sprintf("%d")
> worked.

It did in SLang 1.4.4.  I've finally upgraded to 1.4.9 and now it doesn't
work anymore - I get a stack underflow.  Progress?  S-Lang's changes.txt
fails to mention this.

BTW how do I get JED to compile with /usr/lib/libslang.so.1 instead of
/lib/libslang.so.1?  I've compiled it by copying /usr/lib/libslang.so.1.4.9
to /lib, but I don't know if my Debian S-Lang programs will still work.

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2004 date index] [2004 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]