Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: The Source of All Evil <source@NetBSD.ORG>
List: source-changes
Date: 06/25/1996 12:50:03
christos
Tue Jun 25 12:40:08 EDT 1996
Update of /a/cvsroot/src/bin/sh
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv5028

Modified Files:
	cd.c 
Log Message:
Include header files to get function prototypes; don't use home grown ones.


christos
Tue Jun 25 12:40:39 EDT 1996
Update of /a/cvsroot/src/bin/sh
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv5061

Modified Files:
	exec.c 
Log Message:
const poisoning.


christos
Tue Jun 25 12:41:10 EDT 1996
Update of /a/cvsroot/src/bin/sh
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv5089

Modified Files:
	exec.h 
Log Message:
const poisoning.


christos
Tue Jun 25 12:43:36 EDT 1996
Update of /a/cvsroot/src/bin/sh
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv5132

Modified Files:
	myhistedit.h histedit.c 
Log Message:
change sethistsize() to take the history size as an argument so it can
be used directly by the new variable callback functions.


christos
Tue Jun 25 12:47:46 EDT 1996
Update of /a/cvsroot/src/bin/sh
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv5169

Modified Files:
	options.c options.h 
Log Message:
- Add getoptsreset to be used as a callback function when OPTIND is set.
  This is used to implement the POSIX behavior when OPTIND=1
- Call setvarsafe instead of setvar. If one ran
	"getopts optstr badvariable"
  where badvariable contained an illegal variable name, there was no way
  to recover, since setvar() would longjmp on the error.


christos
Tue Jun 25 12:49:08 EDT 1996
Update of /a/cvsroot/src/bin/sh
In directory pain.lcs.mit.edu:/a/tmp/cvs-serv5197

Modified Files:
	var.c var.h 
Log Message:
- Add function callback capability when variables are set.
- Add setvarsafe that returns an error instead of longjmp() to the
  error code.