ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/BeOS/extfs_beos.cpp
(Generate patch)

Comparing BasiliskII/src/BeOS/extfs_beos.cpp (file contents):
Revision 1.7 by cebix, 1999-11-08T17:00:12Z vs.
Revision 1.8 by cebix, 1999-11-08T18:05:59Z

# Line 471 | Line 471 | bool extfs_remove(const char *path)
471          }
472          return true;
473   }
474 +
475 +
476 + /*
477 + *  Rename/move file/directory, returns false on error (and sets errno)
478 + */
479 +
480 + bool extfs_rename(const char *old_path, const char *new_path)
481 + {
482 +        return rename(old_path, new_path) == 0;
483 + }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines