spaceconcordia / space-lib

Libraries projects
0 stars 2 forks source link

Undefined MAX_PATH size required for flushing stdout buffer: #15

Open ghost opened 9 years ago

ghost commented 9 years ago

Max path size required for flushing stdout buffer: // From limits.h

define CS1_NAME_MAX NAME_MAX /* 255 chars in a file name */

define CS1_PATH_MAX PATH_MAX /* 4096 chars in a path name including nul */

// From decode-command.cpp printf(" GetSrcPath: %s\n", this->GetSrcPath()); printf(" GetDestPath: %s\n", this->GetDestPath()); printf(" IsExecutable: %d\n", this->IsExecutable()); fflush(stdout);