cvs commit: src/bin/sh output.c

Stefan Farfeleder stefanf at
Thu Dec 8 13:00:44 PST 2005

stefanf     2005-12-08 21:00:39 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               output.c 
  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

More information about the cvs-src mailing list