Browse Source
Using function get_windows_canonical_path() may neglect the ngspice file search sequence, as an absolute path is returned also for relative input paths. ngspice however searches a file not only relative to the current directory, as inforced by this function, but for example also in the directory of the previous input file. So restrict this function to paths longer than MAX_PATH, which would fail otherwise.pre-master-46
1 changed files with 8 additions and 0 deletions
Loading…
Reference in new issue