Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 2010 23:28:20 +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:  <201012162329.oBGNTG3e073578@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jilles      2010-12-16 23:28:20 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               expand.c 
  Added files:
    tools/regression/bin/sh/expansion cmdsubst3.0 
  Log:
  SVN rev 216496 on 2010-12-16 23:28:20Z by jilles
  
  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.78      +2 -2      src/bin/sh/expand.c
  1.1       +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?201012162329.oBGNTG3e073578>