Skip to contentSkip to conversation

nfs4-acl-editor does not compile

DISCUSSION Michael Seiwald 1 participant 1 message Nov 1, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello everybody,

when trying to compile the GUI ACL editor [1] I got the following compile error:

nfs4acleditor.cpp: In member function ‘void NFS4_ACL_Editor::syncWho(nfs4_ace*, const char*)’:
nfs4acleditor.cpp:572:48: error: ‘strlcpy’ was not declared in this scope

I just replaced strlcpy with strncpy and now it compiles and runs fine. But I wonder what's the matter with this 'strlcpy' function and if my fix doesn't have any bad side effects.

Thanks in advance

Michael

[1] http://www.citi.umich.edu/projects/nfsv4/linux/nfs4-acl-tools/nfs4-acl-tools-0.3.3.tar.gz