Skip to content

Commit 7b680db

Browse files
committed
Starting over - undoing all the changes from the attempt 2 years ago, in light of a new, deeper understanding of how STOICAL is supposed to work
1 parent 1072f08 commit 7b680db

34 files changed

+7718
-6815
lines changed

.vscode/launch.json

-29
This file was deleted.

.vscode/tasks.json

-26
This file was deleted.

ChangeLog

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
2020-10-06 Michael Warot <chezmike@gmail.com>
2-
* everything : compiles, but crashes on startup, which is progress for me
3-
4-
* configure.as: updated version to 0.1.9, now understand what autoconf does a bit
5-
61
2002-05-06 Jonathan M. Liles <wantingwaiting@users.sf.net>
72

83
* util/genvim: added syntax folding.

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
#
44
# See src/config.h for build options.
55

6-
VERS= 0.1.9
6+
VERS= 0.1.8
77
META= Makefile
88
OBJS= kernel.o term.o mem.o hash.o dict.o debug.o string.o signal.o
99
SRCS= kernel.c term.c dict.c string.c hash.c debug.c mem.c signal.c
1010
PREFIX= /usr/local
1111
NAME = stoical-$(VERS)
1212
LIBROOT= $(PREFIX)/lib/stoical
13-
CFLAGS= -c -DVERSION=\"$(VERS)\" -DLIBROOT=\"$(LIBROOT)\" -Wall -w -O0 -g
13+
CFLAGS= -c -DVERSION=\"$(VERS)\" -DLIBROOT=\"$(LIBROOT)\" -g -O2 -std=gnu99
1414
LIBS= -lm
1515

1616
all: src/.depend

Makefile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SRCS= kernel.c term.c dict.c string.c hash.c debug.c mem.c signal.c
1010
PREFIX= @prefix@
1111
NAME = stoical-$(VERS)
1212
LIBROOT= $(PREFIX)/lib/stoical
13-
CFLAGS= -c -DVERSION=\"$(VERS)\" -DLIBROOT=\"$(LIBROOT)\" -Wall @CFLAGS@
13+
CFLAGS= -c -DVERSION=\"$(VERS)\" -DLIBROOT=\"$(LIBROOT)\" @CFLAGS@ -std=gnu99
1414
LIBS= @LIBS@
1515

1616
all: src/.depend

README

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11

2-
S T O I C A L https://github.com/mikewarot/stoical
2+
S T O I C A L http://stoical.sf.net
3+
34
(c) 2002 Jonathan Moore Liles
4-
(c) 2020 Michael Warot
5-
6-
----Forward ----
7-
This doesn't work yet... This is my 4th day doing any serious amount of hacking
8-
in C, and I've never used autoconf, etc. Right now, it's all based on the
9-
GPL2 licensed source from Jonathan Moore Liles, and I just hacked it enough
10-
to get it to compile on my machine.
11-
Windows 10 --> WSL --> Ubuntu 64 bit, with gcc
12-
13-
I had gotten a bit furhter, but didn't have the git history, and got a bit
14-
confused, so here we are with something with a proper history, and likely a
15-
better basis for improvement.
165

176
----Structure - - -
187

config.h

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
/* config.h. Generated from config.h.in by configure. */
1+
/* config.h. Generated by configure. */
22
/* config.h.in. Generated from configure.ac by autoheader. */
33

44
/* Print verbose debugging info */
5-
#define DEBUG 1
5+
/* #undef DEBUG */
66

77
/* Define to 1 if you have the <arpa/inet.h> header file. */
88
#define HAVE_ARPA_INET_H 1
@@ -143,25 +143,25 @@
143143
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
144144

145145
/* Define to the address where bug reports for this package should be sent. */
146-
#define PACKAGE_BUGREPORT "chezmike@gmail.com"
146+
#define PACKAGE_BUGREPORT "wantingwaiting@users.sf.net"
147147

148148
/* Define to the full name of this package. */
149149
#define PACKAGE_NAME "STOICAL"
150150

151151
/* Define to the full name and version of this package. */
152-
#define PACKAGE_STRING "STOICAL 0.1.9"
152+
#define PACKAGE_STRING "STOICAL 0.1.8"
153153

154154
/* Define to the one symbol short name of this package. */
155155
#define PACKAGE_TARNAME "stoical"
156156

157157
/* Define to the version of this package. */
158-
#define PACKAGE_VERSION "0.1.9"
158+
#define PACKAGE_VERSION "0.1.8"
159159

160160
/* Track invocation, times, memory and etc.. */
161-
#define PROFILE 1
161+
/* #undef PROFILE */
162162

163163
/* Perform bounds checking on stacks and arrays */
164-
/* #undef SAFE */
164+
#define SAFE 1
165165

166166
/* Define to 1 if the `setvbuf' function takes the buffering type as its
167167
second argument and the buffer pointer as the third, as on System V before
@@ -178,13 +178,13 @@
178178
#define SIZEOF_INT 4
179179

180180
/* The size of a `long', as computed by sizeof. */
181-
#define SIZEOF_LONG 8
181+
#define SIZEOF_LONG 4
182182

183183
/* The size of a `short', as computed by sizeof. */
184184
#define SIZEOF_SHORT 2
185185

186186
/* The size of a `void *', as computed by sizeof. */
187-
#define SIZEOF_VOID_P 8
187+
#define SIZEOF_VOID_P 4
188188

189189
/* Define to 1 if you have the ANSI C header files. */
190190
#define STDC_HEADERS 1

0 commit comments

Comments
 (0)