Release calc version 2.11.5.7

This commit is contained in:
Landon Curt Noll
2002-03-12 03:09:01 -08:00
parent a57ee19ca5
commit 7e40db44e3
19 changed files with 462 additions and 157 deletions

View File

@@ -19,8 +19,8 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*
* @(#) $Revision: 29.37 $
* @(#) $Id: version.c,v 29.37 2001/12/31 22:12:35 chongo Exp $
* @(#) $Revision: 29.38 $
* @(#) $Id: version.c,v 29.38 2002/03/12 11:00:08 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/version.c,v $
*
* Under source code control: 1990/05/22 11:00:58
@@ -46,7 +46,7 @@ static char *program;
#define MAJOR_VER 2 /* major version */
#define MINOR_VER 11 /* minor version */
#define MAJOR_PATCH 5 /* patch level or 0 if no patch */
#define MINOR_PATCH 6 /* test number or 0 if no minor patch */
#define MINOR_PATCH 7 /* test number or 0 if no minor patch */
/*
@@ -93,6 +93,22 @@ char *Copyright = "\n"
"\n";
#if !defined(HAVE_SNPRINTF)
/* Simulate snprintf with vsprintf, hoping that BUFSIZ is large enough. */
#include <stdarg.h>
int
snprintf (char *buf, size_t n, const char *fmt, ...)
{
int retval;
va_list arg;
va_start (arg, fmt);
retval = vsprintf (buf, fmt, arg);
va_end (arg);
return retval;
}
#endif
/*
* version - return version string
*