Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/bin/sh



Module Name:    src
Committed By:   kre
Date:           Wed May  3 05:49:54 UTC 2017

Modified Files:
        src/bin/sh: eval.c

Log Message:
So sayeth posix (of the special builtin "eval"):
        If there are no arguments, or only null arguments,
        eval shall return a zero exit status;

Make it so.   Now:
        false; eval; echo $?
produces 0 instead of 1.


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 src/bin/sh/eval.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index