Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Dec 2005 21:00:39 +0000 (UTC)
From:      Stefan Farfeleder <stefanf@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/sh output.c
Message-ID:  <200512082100.jB8L0dxh018968@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
stefanf     2005-12-08 21:00:39 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               output.c 
  Log:
  Print empty quotes ('') when an empty string is passed to outqstr().
  This makes a difference for the trap builtin, where after "trap '' 0" we
  printed "trap -- quit".  This is wrong, because an empty action means to reset
  the action to the default.  A side effect of this commit is that empty
  variables are now printed as "variable=''" instead of just "variable=".
  
  Revision  Changes    Path
  1.20      +4 -0      src/bin/sh/output.c



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