Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Feb 2011 21:24:37 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh expand.c src/tools/regression/bin/sh/expansion cmdsubst3.0
Message-ID:  <201102052125.p15LP9G2066685@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jilles      2011-02-05 21:24:37 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    bin/sh               expand.c 
  Added files:           (Branch: RELENG_8)
    tools/regression/bin/sh/expansion cmdsubst3.0 
  Log:
  SVN rev 218346 on 2011-02-05 21:24:37Z by jilles
  
  MFC r216496: sh: Fix corruption of command substitutions with special chars
  after newline.
  
  The CTLESC byte to protect a special character was output before instead of
  after a newline directly preceding the special character.
  
  The special handling of newlines is because command substitutions discard
  all trailing newlines.
  
  Revision   Changes    Path
  1.55.2.11  +2 -2      src/bin/sh/expand.c
  1.1.2.2    +20 -0     src/tools/regression/bin/sh/expansion/cmdsubst3.0 (new)



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