git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@798
6a8cc165-1e22-0410-a132-
eb4e3f353aba
* configure.ac: updated version.
* src/prototypes.h (str_safe_copy): newly added.
- (build_backup_file, cmd_add, cmd_delete):
+ (build_standard_archive_name, build_backup_file):
added argument the size for build_standard_archive_name() and
build_backup_file().
}
#endif
-/* This function is similar to strncpy() but `dst' is always terminated '\0'.
- Return the copied string length. */
+/* This function is similar to strncpy() but `dst' is always
+ terminated by '\0'. Return the copied string length. */
int
str_safe_copy(char *dst, const char *src, int dstsz)
{