Mercurial > hg > octave-terminal
changeset 1772:95c4c5705909
[project @ 1996-01-23 07:25:59 by jwe]
author | jwe |
---|---|
date | Tue, 23 Jan 1996 07:28:23 +0000 |
parents | aad66ed62e09 |
children | 5215571ea783 |
files | liboctave/file-ops.cc liboctave/file-ops.h |
diffstat | 2 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/file-ops.cc +++ b/liboctave/file-ops.cc @@ -161,31 +161,31 @@ } int -xmkdir (const string& name, mode_t mode) +oct_mkdir (const string& name, mode_t mode) { return mkdir (name.c_str (), mode); } int -xrmdir (const string& name) +oct_rmdir (const string& name) { return rmdir (name.c_str ()); } int -xrename (const string& from, const string& to) +oct_rename (const string& from, const string& to) { return rename (from.c_str (), to.c_str ()); } int -xmkfifo (const string& name, mode_t mode) +oct_mkfifo (const string& name, mode_t mode) { return mkfifo (name.c_str (), mode); } int -xumask (mode_t mode) +oct_umask (mode_t mode) { #if defined (HAVE_UMASK) return umask (mode);
--- a/liboctave/file-ops.h +++ b/liboctave/file-ops.h @@ -189,11 +189,11 @@ extern int is_newer (const string&, time_t); -extern int xmkdir (const string&, mode_t); -extern int xrmdir (const string&); -extern int xrename (const string&, const string&); -extern int xmkfifo (const string&, mode_t); -extern int xumask (mode_t); +extern int oct_mkdir (const string&, mode_t); +extern int oct_rmdir (const string&); +extern int oct_rename (const string&, const string&); +extern int oct_mkfifo (const string&, mode_t); +extern int oct_umask (mode_t); #endif