Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jan 2011 13:26:18 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh eval.c var.c var.h src/tools/regression/bin/sh/errors assignment-error2.0
Message-ID:  <201101011327.p01DRZ32008521@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

jilles      2011-01-01 13:26:18 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               eval.c var.c var.h 
  Added files:
    tools/regression/bin/sh/errors assignment-error2.0 
  Log:
  SVN rev 216870 on 2011-01-01 13:26:18Z by jilles
  
  sh: Check readonly status for assignments on regular builtins.
  
  An error message is written, the builtin is not executed, nonzero exit
  status is returned but the shell does not abort.
  
  This was already checked for special builtins and external commands, with
  the same consequences except that the shell aborts for special builtins.
  
  Obtained from:  NetBSD
  
  Revision  Changes    Path
  1.98      +1 -2      src/bin/sh/eval.c
  1.54      +6 -2      src/bin/sh/var.c
  1.19      +2 -1      src/bin/sh/var.h
  1.1       +8 -0      src/tools/regression/bin/sh/errors/assignment-error2.0 (new)



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