Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2002 23:35:51 -0700 (PDT)
From:      "Tim J. Robbins" <tjr@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/sh parser.c
Message-ID:  <200210060635.g966ZpFq019606@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
tjr         2002/10/05 23:35:51 PDT

  Modified files:
    bin/sh               parser.c 
  Log:
  Disallow empty condition parts of "if", "while" and "until" compound
  commands. Commands like "if then ... fi" and "while do ... done" are no
  longer accepted. Bodies of compound commands are still allowed to be
  empty, because even though POSIX does not allow them, most shells do.
  
  Revision  Changes    Path
  1.48      +6 -3      src/bin/sh/parser.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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