#include <fstream>
#include <memory>
#include <sys/types.h> // For FileExists
-typedef int blksize_t; // SYS/TYPES is broken!!!
#include <sys/stat.h>
ostream *Out = &cout; // Default to printing to stdout...
if (OutputFilename != "-") {
- if (!Force && !std::ifstream(OutputFilename.c_str())) {
+ if (!Force && std::ifstream(OutputFilename.c_str())) {
// If force is not specified, make sure not to overwrite a file!
cerr << "Error opening '" << OutputFilename << "': File exists!\n"
<< "Use -f command line argument to force output\n";