[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Denemo-devel] A bug in the get-user-input routine.

From: Richard Shann
Subject: [Denemo-devel] A bug in the get-user-input routine.
Date: Mon, 12 Jan 2009 12:08:23 +0000

It seems that the get-user-input routine (d-GetUserInput ...) does not
get NULL terminated the strings. This means that the title, prompt and
initial input may have spurious characters at the end.
It seems amazing that this has not shown up before - specifically the
TranposeSelection script depends on it.
Can someone confirm this behavior? Of course it is always possible in
this case for it not to show up as the data following the string may be
NULL in any case. But I am finding it happens pretty much all the time.

To test execute the script

(d-GetUserInput "A test" "give input" "start value")

and see that the strings are properly displayed.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]