Make strlcpy available in folly, second attempt
Summary: strncpy is bad. strlcpy is somewhat less bad. We already had this function, but let's move it somewhere more reasonable. This would make sense to live in String.h, but then we have circular dependencies. Since String.h includes Demangle.h, though, you get strlcpy by including it, so this should be okay enough. Reviewed By: @lbrandy Differential Revision: D2097590
Showing
Please register or sign in to comment