OSDN Git Service

* src/prototypes.h (str_safe_copy): newly added.
authorarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sun, 26 Sep 2004 15:41:41 +0000 (15:41 +0000)
committerarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sun, 26 Sep 2004 15:41:41 +0000 (15:41 +0000)
commit8c6181fe58158e7da7bdec23486ea2b532781928
treee81eec323d4ded81995bd13dff05b467191a6ee7
parent756e1d8a182032e091610a0e032ce2f7a047d8f1
* src/prototypes.h (str_safe_copy): newly added.
(build_backup_file, cmd_add, cmd_delete):
added argument the size for build_standard_archive_name() and
build_backup_file().

* src/header.c (init_header): use str_safe_copy() instead of strcpy().

* src/lhadd.c (build_backup_file, cmd_add, cmd_delete):
added argument the size for build_standard_archive_name() and
build_backup_file().

* src/lhext.c (make_parent_path): use str_safe_copy() instead of strcpy().
(extract_one): ditto.

* src/lharc.c (find_files): use str_safe_copy() instead of strcpy().
(build_temporary_name): ditto.
(modify_filename_extention): ditto.
(build_backup_name): ditto.
(build_standard_archive_name): ditto.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@795 6a8cc165-1e22-0410-a132-eb4e3f353aba
src/header.c
src/lhadd.c
src/lharc.c
src/lhext.c
src/prototypes.h