Hi Harvey,

On  Fr 28 Okt 2016 05:46:29 CEST, Harvey J Stein wrote:

Package: caja
Version: 1.12.7-1+rosa
Severity: normal

Dear Maintainer,

Caja is listing some octave (.m) files as type Objective-C source code.  For
example, the following file (hw06reduced.m) is listed as Objective0C source
code:

========= Cut here ===================
1;


times = [0, 1, 2, 1000];
lambdas = [0.015, 0.02, 0.025, 0.025];

% Step function for defining hazard rate
function s = step(x, y, t)
   i = find(x>t, 1);
   if isempty(i)
       s = y(end);
   elseif i == 1
      s = [];
   else
      s = y(i-1);
   end;
end;

% Survival probabilities
function s = survival(times, lambdas, t)
    dt = diff(times);
    intlambdavect = [0 cumsum(dt .* lambdas(1:end-1))];
    c = interp1(times, intlambdavect, t);

    s = exp(-c);
end;

% Spot spreads as a function of hazard rates
function s = spread(times, lambdas, R, t)
    invtimes = -1 ./ t;
    s = invtimes .* log(1 - (1-R)*(1-survival(times, lambdas, t)))*10000;
end;
========= Cut here ===================

This surely is a MIME type issue, I guess, as the .m file ending may be registered as Object-C source code. Actually, I don't know.

What would you expect instead? Do other browsers in Debian behave differently? How can a simple application distinguish on from the other except from looking at the file ending?

How can we (Debian MATE Team) help you with the above problem? (I know this comes late, but the release is at the door, so we triage our bugs...).

Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

Attachment: pgpouWfR16Lp0.pgp
Description: Digitale PGP-Signatur

Reply via email to