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

Closer dkP r33 support #129

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Closer dkP r33 support #129

wants to merge 1 commit into from

Conversation

arefdsg
Copy link

@arefdsg arefdsg commented Jan 27, 2019

closer

@joedj
Copy link
Owner

joedj commented Jan 27, 2019

Can you please explain this PR a bit better? I've forgotten a lot of this code, but happy to merge in general.

static char result[MAXPATHLEN];
strncpy(result, path, MAXPATHLEN - 1);
result[MAXPATHLEN - 1] = '\0';
static char result[MAXNAMLEN];
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why define MAXPATHLEN, and then switch usages to MAXNAMLEN? I haven't actually tried to build this new code...are we still using MAXPATHLEN for other things?

int fd = fileno(f);
if (fstat(fd, &st)) return;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to remove this? I can't remember, but assume it was probably there for a reason :/

@spotlightishere
Copy link

Hi - I wrote this code in a fork, and after needing a copy of ftpii all this time later found out that it had been PR'd without any notification or contact. This shouldn't work, namely as I just was trying to get the source to compile and gave up later. I've since deleted the fork and I apologize for the confusion.

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

Successfully merging this pull request may close these issues.

None yet

3 participants