Opened 14 months ago
Last modified 14 months ago
#12658 new Bug report
libfilezilla: impersonation code is Linux-specific
|Reported by:||Thomas Klausner||Owned by:|
|Component version:||Operating system type:||BSD|
|Operating system version:|
The new impersonation code does not build on (Net)BSD.
crypt.h and shadow.h are Linux-specific.
I'll attach a patch to show what is needed to make this compile on NetBSD, but of course proper support would be preferred.
Change History (5)
by , 14 months ago
comment:1 by , 14 months ago
comment:2 by , 14 months ago
|Status:||new → moreinfo|
How can a program verify user passwords on NetBSD?
Is there a preprocessor define to specifically detect NetBSD?
comment:3 by , 14 months ago
Why does NetBSD have no crypt_r()? crypt() is not thread-safe. Should be easy to add such a function, please let the NetBSD developers know. Re-open this ticket once this function has been added to NetBSD.
comment:4 by , 14 months ago
|Status:||moreinfo → new|
I've asked the NetBSD developers about this.
NetBSD's compiler defines a NetBSD symbol you can check. (i.e. underscore-underscore-NetBSD-underscore-underscore)