Additional fixes after merge of PR 53.
This commit is contained in:
parent
6589208eaf
commit
961eec1fb5
4
FIXES
4
FIXES
@ -25,6 +25,10 @@ THIS SOFTWARE.
|
|||||||
This file lists all bug fixes, changes, etc., made since the AWK book
|
This file lists all bug fixes, changes, etc., made since the AWK book
|
||||||
was sent to the printers in August, 1987.
|
was sent to the printers in August, 1987.
|
||||||
|
|
||||||
|
October 24, 2019:
|
||||||
|
Import second round of code cleanups from NetBSD. Much thanks
|
||||||
|
to Christos Zoulas (Github user zoulasc). Merges PR 53.
|
||||||
|
|
||||||
October 17, 2019:
|
October 17, 2019:
|
||||||
Import code cleanups from NetBSD. Much thanks to Christos
|
Import code cleanups from NetBSD. Much thanks to Christos
|
||||||
Zoulas (Github user zoulasc). Merges PR 51.
|
Zoulas (Github user zoulasc). Merges PR 51.
|
||||||
|
1
awk.h
1
awk.h
@ -23,6 +23,7 @@ THIS SOFTWARE.
|
|||||||
****************************************************************/
|
****************************************************************/
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef double Awkfloat;
|
typedef double Awkfloat;
|
||||||
|
|
||||||
|
2
main.c
2
main.c
@ -22,7 +22,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
|||||||
THIS SOFTWARE.
|
THIS SOFTWARE.
|
||||||
****************************************************************/
|
****************************************************************/
|
||||||
|
|
||||||
const char *version = "version 20191017";
|
const char *version = "version 20191024";
|
||||||
|
|
||||||
#define DEBUG
|
#define DEBUG
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
2
makefile
2
makefile
@ -30,7 +30,7 @@ CFLAGS = -O2
|
|||||||
#CC = gcc -Wall -g -Wwrite-strings
|
#CC = gcc -Wall -g -Wwrite-strings
|
||||||
#CC = gcc -O4 -Wall -pedantic -fno-strict-aliasing
|
#CC = gcc -O4 -Wall -pedantic -fno-strict-aliasing
|
||||||
#CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
|
#CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
|
||||||
HOSTCC = gcc -g -Wall -pedantic
|
HOSTCC = gcc -g -Wall -pedantic -Wcast-qual
|
||||||
CC = $(HOSTCC) # change this is cross-compiling.
|
CC = $(HOSTCC) # change this is cross-compiling.
|
||||||
|
|
||||||
# yacc options. pick one; this varies a lot by system.
|
# yacc options. pick one; this varies a lot by system.
|
||||||
|
Loading…
Reference in New Issue
Block a user