diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:59 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:59 +0100 |
commit | 9110cc4da22a9c7fed204b4633ac5d8b73f8d9b8 (patch) | |
tree | d962185a51b3dbc87b69151e9b379b11cf50b5cc /src/util.cc | |
parent | ad9a0d02325cb36749f9be25fa52f404f17213ab (diff) |
Remove dead code
Diffstat (limited to 'src/util.cc')
-rw-r--r-- | src/util.cc | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/util.cc b/src/util.cc index 4191bc4c..eec9bfa7 100644 --- a/src/util.cc +++ b/src/util.cc @@ -425,28 +425,6 @@ errr fd_move(cptr file, cptr what) /* -* Hack -- attempt to copy a file -*/ -errr fd_copy(cptr file, cptr what) -{ - char buf[1024]; - char aux[1024]; - - /* Hack -- Try to parse the path */ - if (path_parse(buf, 1024, file)) return ( -1); - - /* Hack -- Try to parse the path */ - if (path_parse(aux, 1024, what)) return ( -1); - - /* Copy XXX XXX XXX */ - /* (void)rename(buf, aux); */ - - /* XXX XXX XXX */ - return (1); -} - - -/* * Hack -- attempt to open a file descriptor (create file) * * This function should fail if the file already exists |