freebsd-src/usr.bin/tar
Tim Kientzle 5af3583731 When deciding which characters (of a filename, for instance)
are safe to print, try to take into account the current locale.
This iterates over output strings using mbtowc() to identify
multi-byte sequences.  If iswprint() claims the corresponding
wide character is printable, the original bytes are passed
through.  Otherwise, we expand characters into C-style
\-escape sequences.

Submitted by:	Michihiro NAKAJIMA
MFC after:	30 days
2008-11-29 20:06:53 +00:00
..
test Include more detailed explanation of this case, since it's pretty 2008-11-10 05:24:13 +00:00
bsdtar.1 New command-line parser for bsdtar. 2008-11-08 04:43:24 +00:00
bsdtar.c New command-line parser for bsdtar. 2008-11-08 04:43:24 +00:00
bsdtar.h New command-line parser for bsdtar. 2008-11-08 04:43:24 +00:00
bsdtar_platform.h Include a suitable stub definition of __FBSDID() for non-FreeBSD platforms. 2008-01-02 00:23:00 +00:00
cmdline.c New command-line parser for bsdtar. 2008-11-08 04:43:24 +00:00
config_freebsd.h When deciding which characters (of a filename, for instance) 2008-11-29 20:06:53 +00:00
COPYING Include Guido's copyright for the fnmatch() code I cribbed from. 2008-01-02 00:19:49 +00:00
getdate.y Fill in some casts that are needed (according to GCC 4.1) 2007-07-20 01:27:50 +00:00
Makefile New command-line parser for bsdtar. 2008-11-08 04:43:24 +00:00
matching.c Fix SVN r181821 by not using FNM_LEADING_DIR where 2008-08-18 18:13:40 +00:00
read.c Always display the unedited pathname in -t output. 2008-08-21 06:41:14 +00:00
siginfo.c Improve portability via s/struct siginfo/struct siginfo_data/. This was 2008-05-22 21:08:36 +00:00
subst.c MfP4: Minor portability fix. 2008-06-15 10:08:16 +00:00
tree.c After visiting a subdirectory, we use chdir("..") or 2008-11-27 05:49:52 +00:00
tree.h After visiting a subdirectory, we use chdir("..") or 2008-11-27 05:49:52 +00:00
util.c When deciding which characters (of a filename, for instance) 2008-11-29 20:06:53 +00:00
write.c After visiting a subdirectory, we use chdir("..") or 2008-11-27 05:49:52 +00:00