-
Notifications
You must be signed in to change notification settings - Fork 3
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
mc fails to build on DragonFlyBSD #2516
Comments
|
|
|
Branch: 2516_dragonfly_bsd (parent: master) |
look at lib/fs.h
... |
Replying to angel_il:
Look here:
I think, MAXNAMLEN can be defined here, in #ifndef MAXNAMLEN branch. |
You are right. Will do. Eventually ;-) |
Please review again. |
|
|
Why do you guys use constant 256 instead of more portable |
OK. NAME_MAX is used. |
Merged to master: [32bffa8]
Fixed in 4.7.5-stable: [726d68d]
Fixed in 4.7.0-stable: [88c87ceb68dd07866c7a28decb9ff8163782bf8a] |
|
Important
This issue was migrated from Trac:
cheusov
(@cheusov)mc fails to build on DragonFlyBSD with the following error message.
This is because DragonFly doesn't provide MAXNAMLEN macros in its header files. Their dirent structure is define like the following.
struct dirent {
#if defined(_KERNEL)#else
#endif
};
Attached patch solves the problem.
Note
Original attachments:
cheusov
(@cheusov) onMar 27, 2011 at 17:33 UTC
The text was updated successfully, but these errors were encountered: