Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2009 15:29:18 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh expand.c
Message-ID:  <200912251529.nBPFTdpn009872@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jilles      2009-12-25 15:29:18 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               expand.c 
  Log:
  SVN rev 200988 on 2009-12-25 15:29:18Z by jilles
  
  sh: Do not consider a tilde-prefix with expansions in it.
  
  That is, do not do tilde expansion if any of the CTL* bytes (\201-\210), not
  only CTLESC and CTLQUOTEMARK, are encountered. Such an expansion would look
  up a user name with sh's internal representation.
  
  The parser does not currently distinguish between backslashed and
  unbackslashed \201-\210, so tilde expansion of user names with these bytes
  in them is not so easy to fix.
  
  Revision  Changes    Path
  1.58      +7 -2      src/bin/sh/expand.c



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