From 3c0ac70615240879c083b6e611675d7576c2ba91 Mon Sep 17 00:00:00 2001 From: Lethosor Date: Sat, 27 Dec 2014 15:05:43 -0500 Subject: [PATCH] Remove output from filetype() Not sure how this made it in, but it's causing problems with PRINT_MODE:TEXT (not to mention filling up stdout.log) --- library/modules/Filesystem.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/library/modules/Filesystem.cpp b/library/modules/Filesystem.cpp index be1668bcc..4d15400d9 100644 --- a/library/modules/Filesystem.cpp +++ b/library/modules/Filesystem.cpp @@ -130,7 +130,6 @@ _filetype DFHack::Filesystem::filetype (std::string path) { STAT_STRUCT info; DFHack::Filesystem::stat(path, info); - std::cout << info.st_mode << std::endl; return mode2type(info.st_mode); }