cvs commit: src/bin/ls extern.h print.c util.c

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Mon Sep 19 16:49:02 PDT 2005


On 18.09.2005, at 20:35, Jeroen Ruigrok/asmodai wrote:
asmodai     2005/09/18 11:35:23 PDT

DragonFly src repository

  Modified files:
    bin/ls               extern.h print.c util.c
  Log:
  Synchronise with FreeBSD:
  Treat filenames as multibyte character strings (according to the 
current
  LC_CTYPE setting) when determining which characters are printable.
  This is an often-requested feature.

  Use wcwidth() to determine the number of column positions a character
  takes up, although there are still a few places left where we assume
  1 byte = 1 column position, e.g. line-wrapping when handling the -m 
option.
I think this breaks world when compiling on -release, see my mail on 
bugs@

We need to avoid using widechar functions when building ls as bootstrap 
tool.

cheers
  simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Attachment:
PGP.sig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00006.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20050919/70e05b1b/attachment-0022.obj>


More information about the Commits mailing list