Mercurial > octave
diff liboctave/cmd-hist.cc @ 10411:479cc8a0a846
use gnulib namespace
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 15 Mar 2010 15:57:23 -0400 |
parents | 07ebe522dac2 |
children | 12d25a1d84bf |
line wrap: on
line diff
--- a/liboctave/cmd-hist.cc Fri Mar 12 19:15:39 2010 -0500 +++ b/liboctave/cmd-hist.cc Mon Mar 15 15:57:23 2010 -0400 @@ -291,8 +291,8 @@ { int tem; - tem = open (f.c_str (), O_CREAT, 0666); - close (tem); + tem = gnulib::open (f.c_str (), O_CREAT, 0666); + gnulib::close (tem); } int status @@ -807,7 +807,7 @@ void command_history::error (int err_num) { - (*current_liboctave_error_handler) ("%s", strerror (err_num)); + (*current_liboctave_error_handler) ("%s", gnulib::strerror (err_num)); } void