Package: matwrap
Subject: matwrap: stubs with dot in the name of one of their leading
directories implies no function name (at least octave stubs)
Version: 0.57-5
Severity: normal

*** Please type your report below this line ***
Hello,

I'm used to put evry generated stuff (even .m) in a special directory
typically, something like : ".build-architecture"

But when calling matwrap with the .build-architecture/test/test.m for
example, the generated test_octave.cpp will get an empty
DEFUN_DLD(,,...) in this case.

This is "easily" corrected by changing the order of the stripping
process (first remove directory, then remove the . of extension
filename) in matwrap_octave.pl line 362 and 363 should be switched to
get the expected result.

I don't test it for tesla and matlab, but looking at them, they seems to
not get the same line (but I don't see the stripping of dirs in tesla
and the process seems different for matlab).

I can give a patch If you need it.

Thanks for your attention.

Regards.
Benoit

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.8-10-amd64-k8
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages matwrap depends on:
ii  perl                          5.8.4-6    Larry Wall's Practical
Extraction

-- no debconf information


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to