Commit 8acb665c authored by Ramon Nou's avatar Ramon Nou
Browse files

Removed debug messages on posix backend

parent 94b47875
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -300,11 +300,11 @@ open(const std::filesystem::path& filepath, int flags, ::mode_t mode,
    if(flags & O_CREAT) {
        fs_plugin->mkdir(filepath.parent_path().c_str(), 0755);
    }
    std::cout << "Opening file " << filepath << std::endl;
    
    int fd = fs_plugin->open(filepath.c_str(), flags, mode);
    std::cout << "File opened? " << fd << " -- " << flags << " mode: " << mode << std::endl;
    
    if(fd == -1) {
        throw io_error("posix_file::open_gekko", errno);
        throw io_error("posix_file::open ", errno);
    }

    return file{filepath, fd, std::move(fs_plugin)};
+0 −1
Original line number Diff line number Diff line
@@ -7,7 +7,6 @@
namespace cargo {

posix_plugin::posix_plugin() {
    std::cout << "POSIXPlugin::POSIXPlugin()" << std::endl;
}