/******************************************************************************

	ZMkOFN()

	This function makes an output filename.  It is called by ExeEB to
create an output file name which corresponds to the input file name that's
in the filespec buffer (FBf).  Different systems require different file
names because of the way backup files are created.

*****************************************************************************/

#include "ZPort.h"		/* define portability identifiers */

EXTERN	char	*FBfPtr;	/* filespec pointer */




#ifdef UNKNOWN
VOID ZMkOFN()		/* make output file name */
{
	puts("Terminating in function ZMkOFN.\n");
	exit(1);
}
#endif




#ifdef vax11c
/*
  This function is called when the FBf contains a fully expanded file
  specification.  It moves FBfPtr back to before the semi-colon,  effectively
  deleting the semi-colon and version number.
*/
VOID ZMkOFN()		/* make output file name */
{
	do
		FBfPtr--;
	while (*FBfPtr != ';');
}
#endif



#ifdef XENIX
VOID ZMkOFN()		/* make output file name */
{
	return;
}
#endif
