Re: texinfo-7.2.92 pretest available

Bruno Haible via Bug reports for the GNU Texinfo documentation system <[email protected]>
Newsgroups gmane.comp.tex.texinfo.bugs
Organization GNU
Message-ID <2345326.k2Ir34aFCK@nimes>
Hello Patrice,

> Something that I really do not understand is why this issue does not
> happen for some variables in the texinfo libraries used by the XS
> modules objects.  ...
> Therefore, the translated_special_unit_info symbol seems to be in two
> different compilation units, and should be used in a function called
> in tests, and yet there is no failure.

For the problem to occur, you need to have
  - one access of the variable in libtexinfo,
  - AND one access of the variable in the ConvertXS module shared library,
  - AND one of these is read/write, and the other one depends on it.

Here,
  extern const TRANSLATED_SUI_ASSOCIATION translated_special_unit_info[];
is a read-only array, and so its values in the two shared libraries are
the same. Therefore there is no ill effect.

That's what I would guess.

Bruno
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.