comparison src/dirfns.cc @ 3531:97cf542676e1

[project @ 2000-02-02 11:30:40 by jwe]
author jwe
date Wed, 02 Feb 2000 11:33:32 +0000
parents b80bbb43a1a9
children 0ff7323dab8b
comparison
equal deleted inserted replaced
3530:7a23cbae0393 3531:97cf542676e1
71 int cd_ok = octave_env::chdir (newdir); 71 int cd_ok = octave_env::chdir (newdir);
72 72
73 if (cd_ok) 73 if (cd_ok)
74 do_external_plotter_cd (newdir); 74 do_external_plotter_cd (newdir);
75 else 75 else
76 error ("%s: %s", newdir.c_str (), strerror (errno)); 76 {
77 using namespace std;
78
79 error ("%s: %s", newdir.c_str (), strerror (errno));
80 }
77 81
78 return cd_ok; 82 return cd_ok;
79 } 83 }
80 84
81 DEFUN_TEXT (cd, args, , 85 DEFUN_TEXT (cd, args, ,