Hi,

> >>> In Message "Bug#473193: libgettext-ruby1.8: returns contents of 
> >>> @current_mo and is modifiable"
> >>>            <[EMAIL PROTECTED]>,
> >>> Junichi Uekawa <[EMAIL PROTECTED]>  said;
> > apt-listbugs does the following, and apparently changing 'ask_str'
> > will change the result of the next invocation of _("xxx") :
> 
> Thanks for reporting.
> 
> First I forwarded upstream;
> http://rubyforge.org/tracker/index.php?func=detail&aid=19193&group_id=855&atid=3377
> 
> And I'll upload next debian version with a patch to duplicate return string.

Thanks!

There are two ways to tackle the problem, 

1. freeze the strings so that manipulating the strings in destructive
way will give error. (comparable to libc behavior, which returns read-only 
string)

2. dup the strings.

choosing 1 will break apt-listbugs, 1 might sound to be more correct
if compatibility is not an issue; I will upload a new apt-listbugs
version in case 1 is chosen.


regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to