Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2008 20:06:53 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.bin/tar config_freebsd.h util.c
Message-ID:  <200811292006.mATK6x4n090721@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kientzle    2008-11-29 20:06:53 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/tar          config_freebsd.h util.c 
  Log:
  SVN rev 185450 on 2008-11-29 20:06:53Z by kientzle
  
  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
  
  Revision  Changes    Path
  1.8       +1 -0      src/usr.bin/tar/config_freebsd.h
  1.22      +117 -48   src/usr.bin/tar/util.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811292006.mATK6x4n090721>