Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined MAX_PATH size required for flushing stdout buffer: #15

Open
ghost opened this issue Jul 17, 2015 · 0 comments
Open

Undefined MAX_PATH size required for flushing stdout buffer: #15

ghost opened this issue Jul 17, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 17, 2015

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants