Mercurial > hg > octave-nkf
comparison libinterp/corefcn/load-path.cc @ 17414:20d1b911b4e7 classdef
* libinterp/corefcn/load-path.cc (genpath): Ignore package dirs.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Thu, 12 Sep 2013 21:08:07 -0400 |
parents | 498b2dd1bd56 |
children | c702371ff6df |
comparison
equal
deleted
inserted
replaced
16896:498b2dd1bd56 | 17414:20d1b911b4e7 |
---|---|
2074 | 2074 |
2075 for (octave_idx_type i = 0; i < len; i++) | 2075 for (octave_idx_type i = 0; i < len; i++) |
2076 { | 2076 { |
2077 std::string elt = dirlist[i]; | 2077 std::string elt = dirlist[i]; |
2078 | 2078 |
2079 bool skip_p = (elt == "." || elt == ".." || elt[0] == '@'); | 2079 bool skip_p = (elt == "." || elt == ".." || elt[0] == '@' |
2080 || elt[0] == '+'); | |
2080 | 2081 |
2081 if (! skip_p) | 2082 if (! skip_p) |
2082 { | 2083 { |
2083 for (octave_idx_type j = 0; j < skip.length (); j++) | 2084 for (octave_idx_type j = 0; j < skip.length (); j++) |
2084 { | 2085 { |