Release calc version 2.11.0t0

This commit is contained in:
Landon Curt Noll
1999-09-20 14:40:16 -07:00
parent b4e94b7eaa
commit 5307c4e16b
4 changed files with 46 additions and 64 deletions

View File

@@ -213,10 +213,10 @@ ALIGN32= -DMUST_ALIGN32
# MAIN= -DMAIN=void main() is of type void # MAIN= -DMAIN=void main() is of type void
# MAIN= -DMAIN=int main() is of type int # MAIN= -DMAIN=int main() is of type int
# #
# When in doubt, try MAIN= -DMAIN=void. If you get a warning try the other. # When in doubt, try MAIN= -DMAIN=int. If you get a warning try the other.
# #
MAIN= -DMAIN=void #MAIN= -DMAIN=void
#MAIN= -DMAIN=int MAIN= -DMAIN=int
# where to install binary files # where to install binary files
# #
@@ -332,7 +332,7 @@ CALCPAGER= more
# Debug/Optimize options for ${CC} # Debug/Optimize options for ${CC}
# #
DEBUG= -O #DEBUG= -O
#DEBUG= -O -g #DEBUG= -O -g
#DEBUG= -O -g3 #DEBUG= -O -g3
#DEBUG= -O1 #DEBUG= -O1
@@ -340,7 +340,7 @@ DEBUG= -O
#DEBUG= -O1 -g3 #DEBUG= -O1 -g3
#DEBUG= -O2 #DEBUG= -O2
#DEBUG= -O2 -g #DEBUG= -O2 -g
#DEBUG= -O2 -g3 DEBUG= -O2 -g3
#DEBUG= -O2 -ipa #DEBUG= -O2 -ipa
#DEBUG= -O2 -g3 -ipa #DEBUG= -O2 -g3 -ipa
#DEBUG= -O3 #DEBUG= -O3
@@ -388,8 +388,8 @@ LD_NO_SHARED=
# a *.a library. Set RANLIB to the utility that performs this action. # a *.a library. Set RANLIB to the utility that performs this action.
# Set RANLIB to : if your system does not need such a utility. # Set RANLIB to : if your system does not need such a utility.
# #
#RANLIB=ranlib RANLIB=ranlib
RANLIB=: #RANLIB=:
# Some systems are able to form lint libs. How it is formed depends # Some systems are able to form lint libs. How it is formed depends
# on your system. If you do not care about lint, use : as the # on your system. If you do not care about lint, use : as the
@@ -507,21 +507,21 @@ ALLOW_CUSTOM= -DCUSTOM
# #
# common cc set # common cc set
# #
CCWARN= #CCWARN=
CCOPT= ${DEBUG} ${NO_SHARED} #CCOPT= ${DEBUG} ${NO_SHARED}
CCMISC= #CCMISC=
# #
CFLAGS= ${CCWARN} ${CCOPT} ${CCMISC} #CFLAGS= ${CCWARN} ${CCOPT} ${CCMISC}
ICFLAGS= ${CCWARN} ${CCMISC} #ICFLAGS= ${CCWARN} ${CCMISC}
# #
CCMAIN= ${ICFLAGS} ${MAIN} #CCMAIN= ${ICFLAGS} ${MAIN}
CCSHS= ${CFLAGS} #CCSHS= ${CFLAGS}
# #
LCFLAGS= #LCFLAGS=
LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED} #LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED}
ILDFLAGS= #ILDFLAGS=
# #
CC= ${PURIFY} cc #CC= ${PURIFY} cc
# #
### ###
# #
@@ -680,61 +680,37 @@ CC= ${PURIFY} cc
# #
### ###
# #
# gcc set # Red Hat Linux 6.0
# #
# for better performance, set the following above: # for better performance, set the following above:
# DEBUG= -O # DEBUG= -O2
# #
#CCWARN= -Wall CCWARN= -Wall -Wno-implicit -Wno-comment
#CCOPT= ${DEBUG} ${NO_SHARED} CCOPT= ${DEBUG} ${NO_SHARED}
#CCMISC= -ansi CCMISC=
# #
#CFLAGS= ${CCWARN} ${CCOPT} ${CCMISC} CFLAGS= ${CCWARN} ${CCOPT} ${CCMISC}
#ICFLAGS= ${CCWARN} ${CCMISC} ICFLAGS= ${CCWARN} ${CCMISC}
# #
#CCMAIN= ${ICFLAGS} ${MAIN} CCMAIN= ${ICFLAGS} ${MAIN}
#CCSHS= ${CFLAGS} CCSHS= ${CFLAGS}
# #
#LCFLAGS= LCFLAGS=
#LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED} LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED}
#ILDFLAGS= ILDFLAGS=
# #
#CC= ${PURIFY} gcc CC= ${PURIFY} gcc
# #
### ###
# #
# gcc1 set (some call it gcc1, some call it gcc) # gcc set (some call it gcc2, some call it gcc)
#
# for better performance, set the following above:
# DEBUG= -O
#
#CCWARN= -Wall
#CCOPT= ${DEBUG} ${NO_SHARED}
#CCMISC= -ansi
#
#CFLAGS= ${CCWARN} ${CCOPT} ${CCMISC}
#ICFLAGS= ${CCWARN} ${CCMISC}
#
#CCMAIN= ${ICFLAGS} ${MAIN}
#CCSHS= ${CFLAGS}
#
#LCFLAGS=
#LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED}
#ILDFLAGS=
#
#CC= ${PURIFY} gcc1
#CC= ${PURIFY} gcc
#
###
#
# gcc2 set (some call it gcc2, some call it gcc)
# #
# for better performance, set the following above: # for better performance, set the following above:
# DEBUG= -O2 # DEBUG= -O2
# #
#CCWARN= -Wall -Wno-implicit -Wno-comment #CCWARN= -Wall -Wno-implicit -Wno-comment
#CCOPT= ${DEBUG} ${NO_SHARED} #CCOPT= ${DEBUG} ${NO_SHARED}
#CCMISC= -ansi #CCMISC=
# #
#CFLAGS= ${CCWARN} ${CCOPT} ${CCMISC} #CFLAGS= ${CCWARN} ${CCOPT} ${CCMISC}
#ICFLAGS= ${CCWARN} ${CCMISC} #ICFLAGS= ${CCWARN} ${CCMISC}
@@ -746,8 +722,8 @@ CC= ${PURIFY} cc
#LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED} #LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED}
#ILDFLAGS= #ILDFLAGS=
# #
#CC= ${PURIFY} gcc2
#CC= ${PURIFY} gcc #CC= ${PURIFY} gcc
#CC= ${PURIFY} gcc2
############################################################################## ##############################################################################
#-=-=-=-=-=-=-=-=- Be careful if you change something below -=-=-=-=-=-=-=-=-# #-=-=-=-=-=-=-=-=- Be careful if you change something below -=-=-=-=-=-=-=-=-#

2
func.c
View File

@@ -78,7 +78,7 @@ static VALUE f_fsize(VALUE *vp);
* external declarations * external declarations
*/ */
extern int errno; /* last system error */ extern int errno; /* last system error */
extern char *sys_errlist[]; /* system error messages */ extern const char *const sys_errlist[]; /* system error messages */
extern int sys_nerr; /* number of system errors */ extern int sys_nerr; /* number of system errors */
extern char cmdbuf[]; /* command line expression */ extern char cmdbuf[]; /* command line expression */
extern CONST char *error_table[E__COUNT+2]; /* calc coded error messages */ extern CONST char *error_table[E__COUNT+2]; /* calc coded error messages */

View File

@@ -97,6 +97,12 @@
#include "longlong.h" #include "longlong.h"
#if defined(__linux)
# if !defined(isascii)
extern int isascii(int c);
# endif /* !isascii */
#endif /* __linux */
char *program; /* our name */ char *program; /* our name */
MAIN MAIN

View File

@@ -10,9 +10,9 @@
#include "calc.h" #include "calc.h"
#define MAJOR_VER 2 /* major version */ #define MAJOR_VER 2 /* major version */
#define MINOR_VER 10 /* minor version */ #define MINOR_VER 11 /* minor version */
#define MAJOR_PATCH 3 /* patch level or 0 if no patch */ #define MAJOR_PATCH 0 /* patch level or 0 if no patch */
#define MINOR_PATCH "t5.46" /* test number or empty string if no patch */ #define MINOR_PATCH "0" /* test number or empty string if no patch */
/* /*
* calc version constants * calc version constants