This file is indexed.

/usr/share/freemat/toolbox/util/fullfile.m is in freemat-data 4.0-5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% FULLFILE FULLFILE Build a Full Filename From Pieces
% 
% Usage
% 
% The fullfile routine constructs a full filename from a set of
% pieces, namely, directory names and a filename.  The syntax is:
% 
%   x = fullfile(dir1,dir2,...,dirn,filename)
% 
% where each of the arguments are strings.  The fullfile function
% is equivalent to [dir1 dirsep dir2 dirsep ... dirn dirsep filename].

% Copyright (c) 2002-2007 Samit Basu
% Licensed under the GPL

function x = fullfile(varargin)
    if (nargin == 0)
        x = [];
        return;
    end
    x = [];
    for i=1:(nargin-1)
        x = [x,varargin{i},dirsep];
    end
    x = [x,varargin{end}];