diff options
author | Tim Kientzle <kientzle@FreeBSD.org> | 2005-10-12 03:26:09 +0000 |
---|---|---|
committer | Tim Kientzle <kientzle@FreeBSD.org> | 2005-10-12 03:26:09 +0000 |
commit | 52a88d3b57dbd14caaea97ae604aafcfbc1503db (patch) | |
tree | bee5d8ed508e59cc24a9cec013daaa79f89bc24b /lib/libarchive/archive_entry.h | |
parent | 85c13a8375d8aa4ed57187b76679c4676a81cd04 (diff) |
In pax interchange format, use UTF8 for writing
link names, usernames, or group names that contain
non-ASCII characters.
In particular, this corrects an inconsistency reported
by Ed Maste when archiving symlinks with odd characters:
long symlinks would get preserved, short ones would
be changed.
Notes
Notes:
svn path=/head/; revision=151249
Diffstat (limited to 'lib/libarchive/archive_entry.h')
-rw-r--r-- | lib/libarchive/archive_entry.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libarchive/archive_entry.h b/lib/libarchive/archive_entry.h index 8d9fdef6a53d..a35f0dfae58b 100644 --- a/lib/libarchive/archive_entry.h +++ b/lib/libarchive/archive_entry.h @@ -79,7 +79,9 @@ void archive_entry_fflags(struct archive_entry *, const char *archive_entry_fflags_text(struct archive_entry *); gid_t archive_entry_gid(struct archive_entry *); const char *archive_entry_gname(struct archive_entry *); +const wchar_t *archive_entry_gname_w(struct archive_entry *); const char *archive_entry_hardlink(struct archive_entry *); +const wchar_t *archive_entry_hardlink_w(struct archive_entry *); ino_t archive_entry_ino(struct archive_entry *); mode_t archive_entry_mode(struct archive_entry *); time_t archive_entry_mtime(struct archive_entry *); @@ -92,8 +94,10 @@ dev_t archive_entry_rdevminor(struct archive_entry *); int64_t archive_entry_size(struct archive_entry *); const struct stat *archive_entry_stat(struct archive_entry *); const char *archive_entry_symlink(struct archive_entry *); +const wchar_t *archive_entry_symlink_w(struct archive_entry *); uid_t archive_entry_uid(struct archive_entry *); const char *archive_entry_uname(struct archive_entry *); +const wchar_t *archive_entry_uname_w(struct archive_entry *); /* * Set fields in an archive_entry. |