view test/fcn-handle/bug51567.m @ 31210:9ad55d2e1bbf stable

Make sure we don't pass short 8.3 path to latex on Windows (bug #62779). * latex-text-renderer.cc (latex_renderer::write_tex_file): On Windows, use canonicalized path of temporary directory.
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Sun, 28 Aug 2022 22:44:49 +0200
parents 5bca1527b034
children
line wrap: on
line source

classdef bug51567 < handle
  properties
    fh1;
    fh2;
  endproperties
  methods
    function obj = bug51567 (self)
      obj.fh1 = str2func ("bar");
      obj.fh2 = @baz;
    endfunction
    function r = bar (obj)
      r = 13;
    endfunction
    function r = baz (obj)
      r = 42;
    endfunction
    function r = doit_1 (obj)
      r = obj.fh1 ();
    endfunction
    function r = doit_2 (obj)
      r = obj.fh2 ();
    endfunction
  endmethods
endclassdef