guile-devel
[Top][All Lists]
Advanced

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

Re: Guile: What's wrong with this?


From: Bruce Korb
Subject: Re: Guile: What's wrong with this?
Date: Wed, 04 Jan 2012 15:28:24 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0

On 01/04/12 15:19, Mark H Weaver wrote:
Bruce Korb<address@hidden>  writes:

ERROR: In procedure string-upcase:
ERROR: string is read-only: ""
Scheme evaluation error.  AutoGen ABEND-ing in template
        confmacs.tlib on line 209
Failing Guile command:  = = = = =

(set! tmp-text (get "act-text"))
        (set! TMP-text (string-upcase tmp-text))

What in heck is string-upcase doing trying to write to its input string?
Why was the string returned by ag_scm_get() (the function bound to "get")
an immutable string anyway?

Good questions indeed.  I spent a bunch of time investigating this, and
found some bugs that might have caused this problem, although I'm not
certain.

Bruce: Can you please see if the patch below fixes this problem?

OK.  I'll have to play this weekend.  I have to download and install
Guile sources and, unfortunately, this thread notwithstanding, I do
have a day job....

Thank you so much!!  Regards, Bruce



reply via email to

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