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

Revert "Alpine bugfix for storage size of 'statfsbuf' isn't known" #169

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

jedisct1
Copy link
Owner

Reverts #168

HAVE_STRUCT_STATVFS and HAVE_STRUCT_STATVFS64 are not defined anywhere.

@jedisct1 jedisct1 merged commit 0de82ea into master Aug 14, 2023
2 of 3 checks passed
@jedisct1 jedisct1 deleted the revert-168-master branch August 14, 2023 10:33
@lgoio
Copy link
Contributor

lgoio commented Aug 14, 2023

This error occurred in an alpine docker on x86_64,
the system is using STATVFS64 according to HAVE_STATVFS64.

After my google research i found this way in libstatgrab/src/libstatgrab/disk_stats.c,
caused by the fallback presumably to STATVFS, im able to compile on alpine.

My configuration:
./configure
--prefix=/usr
--sysconfdir=/etc/pureftpd
--with-tls
--with-puredb
--with-quotas
--with-throttling
--with-rfc2640
--with-paranoidmsg
--with-altlog
--with-cookie
--with-diraliases
--with-bonjour
--with-virtualchroot
--enable-nls
--with-language=english
--without-humor
--with-boring
--without-inetd
--with-uploadscript

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