| I have noticed that the call to sscanf() in the code below (and the similar
code throughout argdecode.c) does not work properly on MacOS 9.
else if (!(strncmp (s, "m-amps=", 7))) {
int n;
s += 7;
if (*s=='\0') dieu(csound, Str("no message amps"));
sscanf(s, "%n", &n);
if (n) O->msglevel |= AMPLMSG;
else O->msglevel &= ~AMPLMSG;
return 1;
}
The value of n is always set to 0 regardless of what number follows the
equal sign.
Does it work elsewhere?
Anthony Kozar
mailing-lists-1001 AT anthonykozar DOT net
http://anthonykozar.net/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |