cant get right plgn-xtnsn pair
Brought to you by:
kahlila,
shadowfiend
While running nlppX version 1.3 (CVS-wise) in debug
mode (after compilation on gcc-3.2), I noticed that the
first item that was being read into the tester from the
catalog.nlc file, instead of being 'cpp.es' is actually
'cpp.es\000\000аш'. From the web, I've managed to
figure out that \000 is a representation of an octal
number. However, I fail to understand how an 'cpp.es =
spanish.npl' can yield 'cpp.es\000\000аш'....
Logged In: YES
user_id=615927
Fixed it. The problem was that the 'extension.nle' file was
not being created when it was opened for read/write file
access. Usually, that's done by default, but apparently,
that's not the case with gcc-3.2. Fixed it by adding a file
create function from C and then closing the file - total of
two lines of code in translator::setLanguage(). CVS has the
bug-fixed version.